| |
- byte_count_str(byte_count: int) -> str
- Get a string representing a number of bytes.
- default_time_ns() -> int
- Get a timestamp value using a default method.
- nano_str(nanos: int, is_time: bool = False, max_prefix: int = 3, unit: vcorelib.math.unit.UnitSystem = UnitSystem(prefixes=['n', 'u', 'm', '', 'k', 'M', 'G', 'T'], divisor=1000), prefix_space: bool = False, iteration: int = 0) -> str
- Convert an arbitrary value in a 10^-9 domain into as concise of a string
as possible.
- rate_str(period_s: float) -> str
- Get a string representing a rate in Hz.
- seconds_str(seconds: int) -> Tuple[str, int]
- Attempt to characterize a large amount of seconds into a string describing
hours and minutes, returning the string (may be empty) and the seconds
left over.
|