Searched refs:kNsPerSec (Results 1 – 7 of 7) sorted by relevance
94 int64_t startNs = static_cast<int64_t>(mStartTime.tv_sec) * kNsPerSec + mStartTime.tv_nsec; in end()95 int64_t endNs = static_cast<int64_t>(endTime.tv_sec) * kNsPerSec + endTime.tv_nsec; in end()101 const static int64_t kNsPerSec = 1000000000;
152 static constexpr int64_t kNsPerSec = 1000000000; member in google::camera_common::__anon477d26810111::ProfilerImpl173 return now.tv_sec * kNsPerSec + now.tv_nsec; in GetBootTimeNs()182 return now.tv_sec * kNsPerSec + now.tv_nsec; in GetRealTimeNs()289 if (elapsed > kNsPerSec * fps_print_interval_seconds_) { in ProfileFrameRate()291 realtime_frame_rate.count * kNsPerSec / static_cast<float>(elapsed); in ProfileFrameRate()292 float avg_fps = frame_rate.count * kNsPerSec / in ProfileFrameRate()402 if (duration > 1 * kNsPerSec) { in PrintResult()404 fps = frame_rate.count * kNsPerSec / static_cast<float>(duration); in PrintResult()455 duration <= kNsPerSec || frame_rate.count <= 0) { in DumpTxt()459 << frame_rate.count * kNsPerSec / static_cast<float>(duration); in DumpTxt()
42 static const int64_t kNsPerSec = 1000000000; in SetMetadata() local43 int64_t buffer_timestamp = ts.tv_sec * kNsPerSec + ts.tv_nsec; in SetMetadata()
89 static const int64_t kNsPerSec = 1000000000; in SetMetadata() local90 int64_t buffer_timestamp = ts.tv_sec * kNsPerSec + ts.tv_nsec; in SetMetadata()
95 constexpr uint64_t kNsPerSec = 1'000'000'000ull; in GetNsMonotonic() local96 return static_cast<uint64_t>(ts.tv_sec) * kNsPerSec + ts.tv_nsec; in GetNsMonotonic()
404 static const int64_t kNsPerSec = 1000000000; in GetCurrentTimestampNs() local405 *current_timestamp = ts.tv_sec * kNsPerSec + ts.tv_nsec; in GetCurrentTimestampNs()
46 static constexpr int64_t kNsPerSec = 1000000000; variable1869 start_timestamp = start_time.tv_sec * kNsPerSec + start_time.tv_nsec; in RequestStreamBuffers()1880 end_timestamp = end_time.tv_sec * kNsPerSec + end_time.tv_nsec; in RequestStreamBuffers()