Lines Matching refs:flags
24 import gflags as flags # http://code.google.com/p/python-gflags/ namespace
51 FLAGS = flags.FLAGS
919 flags.DEFINE_boolean("status", None, "Print power meter status")
920 flags.DEFINE_integer("avg", None,
922 flags.DEFINE_float("voltage", None, "Set output voltage (0 for off)")
923 flags.DEFINE_float("current", None, "Set max output current")
924 flags.DEFINE_string("usbpassthrough", None, "USB control (on, off, auto)")
925 flags.DEFINE_integer("samples", None, "Collect and print this many samples")
926 flags.DEFINE_integer("hz", 5000, "Print this many samples/sec")
927 flags.DEFINE_string("device", None,
929 flags.DEFINE_boolean("timestamp", None,
931 flags.DEFINE_boolean("ramp", True, "Gradually increase voltage")
932 flags.DEFINE_boolean("log", False, "Log progress to a file or not")
933 flags.DEFINE_boolean("run", False, "Run the test suite for power")
934 flags.DEFINE_string("power_monitor", None, "Type of power monitor to use")
935 flags.DEFINE_float("max_baseline_amps", 0.005,