Function anj_time_monotonic_to_scalar
Defined in File time.h
Function Documentation
-
static inline int64_t anj_time_monotonic_to_scalar(const anj_time_monotonic_t time, const anj_time_unit_t unit)
Converts a monotonic timestamp to an integer scalar in the given unit.
- Parameters:
time – Timestamp to convert.
unit – Target unit.
- Returns:
Integer scalar.