Home
last modified time | relevance | path

Searched refs:kNsPerSec (Results 1 – 7 of 7) sorted by relevance

/hardware/google/easel/amber/camera/include/
DHdrPlusProfiler.h94 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;
/hardware/google/camera/common/profiler/
Dprofiler.cc152 static constexpr int64_t kNsPerSec = 1000000000; member in google::camera_common::__anon477d26810111::ProfilerImpl
173 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()
/hardware/google/camera/common/hal/tests/
Dzsl_buffer_manager_tests.cc42 static const int64_t kNsPerSec = 1000000000; in SetMetadata() local
43 int64_t buffer_timestamp = ts.tv_sec * kNsPerSec + ts.tv_nsec; in SetMetadata()
Dinternal_stream_manager_tests.cc89 static const int64_t kNsPerSec = 1000000000; in SetMetadata() local
90 int64_t buffer_timestamp = ts.tv_sec * kNsPerSec + ts.tv_nsec; in SetMetadata()
/hardware/google/gfxstream/host/magma/
DIntelDrmDecoder.cpp95 constexpr uint64_t kNsPerSec = 1'000'000'000ull; in GetNsMonotonic() local
96 return static_cast<uint64_t>(ts.tv_sec) * kNsPerSec + ts.tv_nsec; in GetNsMonotonic()
/hardware/google/camera/common/hal/utils/
Dzsl_buffer_manager.cc404 static const int64_t kNsPerSec = 1000000000; in GetCurrentTimestampNs() local
405 *current_timestamp = ts.tv_sec * kNsPerSec + ts.tv_nsec; in GetCurrentTimestampNs()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device_session.cc46 static constexpr int64_t kNsPerSec = 1000000000; variable
1869 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()