Searched refs:CONSTEXPR (Results 1 – 3 of 3) sorted by relevance
38 static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) in seconds_to_nanoseconds()43 static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) in milliseconds_to_nanoseconds()48 static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) in microseconds_to_nanoseconds()53 static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) in nanoseconds_to_seconds()58 static CONSTEXPR inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) in nanoseconds_to_milliseconds()63 static CONSTEXPR inline nsecs_t nanoseconds_to_microseconds(nsecs_t secs) in nanoseconds_to_microseconds()68 static CONSTEXPR inline nsecs_t s2ns(nsecs_t v) {return seconds_to_nanoseconds(v);} in s2ns()69 static CONSTEXPR inline nsecs_t ms2ns(nsecs_t v) {return milliseconds_to_nanoseconds(v);} in ms2ns()70 static CONSTEXPR inline nsecs_t us2ns(nsecs_t v) {return microseconds_to_nanoseconds(v);} in us2ns()71 static CONSTEXPR inline nsecs_t ns2s(nsecs_t v) {return nanoseconds_to_seconds(v);} in ns2s()[all …]
62 #define CONSTEXPR constexpr macro64 #define CONSTEXPR macro
97 static const CONSTEXPR double _NUM_NS_PER_SEC = 1000000000.0;98 static const CONSTEXPR double _BYTES_PER_MB = 1024.0* 1024.0;