Searched refs:force_time_unit (Results 1 – 3 of 3) sorted by relevance
85 def time_to_readable_str(value_us, force_time_unit=None): argument101 if force_time_unit:102 if force_time_unit not in TIME_UNITS:103 raise ValueError("Invalid time unit: %s" % force_time_unit)104 order = TIME_UNITS.index(force_time_unit)105 time_unit = force_time_unit
90 40e6, force_time_unit=cli_shared.TIME_UNIT_S))93 40e6, force_time_unit=cli_shared.TIME_UNIT_MS))96 40e6, force_time_unit=cli_shared.TIME_UNIT_US))99 40, force_time_unit=cli_shared.TIME_UNIT_S))102 0, force_time_unit=cli_shared.TIME_UNIT_S))105 cli_shared.time_to_readable_str(100, force_time_unit="ks")
63 force_time_unit=time_unit)68 force_time_unit=time_unit)513 force_time_unit=time_unit),515 force_time_unit=time_unit)]693 force_time_unit=parsed.time_unit),