Searched refs:secs (Results 1 – 5 of 5) sorted by relevance
37 static inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) { in seconds_to_nanoseconds() argument38 return secs * 1000000000; in seconds_to_nanoseconds()41 static inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) { in milliseconds_to_nanoseconds() argument42 return secs * 1000000; in milliseconds_to_nanoseconds()45 static inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) { in microseconds_to_nanoseconds() argument46 return secs * 1000; in microseconds_to_nanoseconds()49 static inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) { in nanoseconds_to_seconds() argument50 return secs / 1000000000; in nanoseconds_to_seconds()53 static inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) { in nanoseconds_to_milliseconds() argument54 return secs / 1000000; in nanoseconds_to_milliseconds()[all …]
122 time_t secs = ts.tv_sec - mBufferUpdateTime.tv_sec; in getDeltaTimeMsFromUpdatedTime_l() local125 --secs; in getDeltaTimeMsFromUpdatedTime_l()128 deltaMs = secs * 1000 + nsec / 1000000; in getDeltaTimeMsFromUpdatedTime_l()
91 static inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) in nanoseconds_to_milliseconds() argument93 return secs/1000000; in nanoseconds_to_milliseconds()
272 time_t secs = (time_t) (realTime / 1000000000); in getTimeString_l() local273 localtime_r(&secs, &tm); in getTimeString_l()
115 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; in Visualizer_getDeltaTimeMsFromUpdatedTime() local118 --secs; in Visualizer_getDeltaTimeMsFromUpdatedTime()121 deltaMs = secs * 1000 + nsec / 1000000; in Visualizer_getDeltaTimeMsFromUpdatedTime()