Home | History | Annotate | Download | only in scripts

Lines Matching refs:hz

858         # In case FLAGS.hz doesn't divide native_hz exactly, use this invariant:
859 # 'offset' = (consumed samples) * FLAGS.hz - (emitted samples) * native_hz
870 need = (native_hz - offset + FLAGS.hz - 1) / FLAGS.hz
878 offset += need * FLAGS.hz
879 while offset >= native_hz: # maybe multiple, if FLAGS.hz > native_hz
926 flags.DEFINE_integer("hz", 5000, "Print this many samples/sec")