Searched refs:kNumNanosecsPerSec (Results 1 – 12 of 12) sorted by relevance
44 return ts.tv_sec * kNumNanosecsPerSec + ts.tv_nsec; in GetProcessCpuTimeNanos()51 return rusage.ru_utime.tv_sec * kNumNanosecsPerSec + in GetProcessCpuTimeNanos()84 return ts.tv_sec * kNumNanosecsPerSec + ts.tv_nsec; in GetThreadCpuTimeNanos()96 return info.user_time.seconds * kNumNanosecsPerSec + in GetThreadCpuTimeNanos()
24 static const int64_t kNumNanosecsPerSec = INT64_C(1000000000); variable29 kNumNanosecsPerSec / kNumMillisecsPerSec;31 kNumNanosecsPerSec / kNumMicrosecsPerSec;
50 uint64_t NowSeconds() const { return TimeNanos() / kNumNanosecsPerSec; } in NowSeconds()
170 ticks = kNumNanosecsPerSec * static_cast<int64_t>(ts.tv_sec) + in SystemTimeNanos()
144 out_clock->tv_sec = time / kNumNanosecsPerSec; in TimeCallbackForTesting()145 out_clock->tv_usec = (time % kNumNanosecsPerSec) / kNumNanosecsPerMicrosec; in TimeCallbackForTesting()
144 rtc::kNumNanosecsPerSec / 10000; // 10k fps.164 return fps ? rtc::kNumNanosecsPerSec / fps : kMinimumInterval; in FpsToInterval()171 return static_cast<int>(rtc::kNumNanosecsPerSec / interval); in IntervalToFps()178 return static_cast<float>(rtc::kNumNanosecsPerSec) / in IntervalToFpsFloat()
42 EXPECT_EQ(rtc::kNumNanosecsPerSec / 20, VideoFormat::FpsToInterval(20)); in TEST()43 EXPECT_EQ(20, VideoFormat::IntervalToFps(rtc::kNumNanosecsPerSec / 20)); in TEST()
157 int64_t frame_interval_ns = rtc::kNumNanosecsPerSec / max_fps; in KeepFrame()301 max_fps = rtc::kNumNanosecsPerSec / format->interval; in OnOutputFormatRequest()
1159 /* in_timestamp_ns= */ rtc::kNumNanosecsPerSec / 30, &cropped_width, in TEST()1187 /* in_timestamp_ns= */ rtc::kNumNanosecsPerSec / 30, &cropped_width, in TEST()1329 frame_num * rtc::kNumNanosecsPerSec / kSourceFramerate, &cropped_width_, in TEST_P()
228 (frame_index_delta * rtc::kNumNanosecsPerSec) / sample_rate(); in EstimateLatencyMillis()
68 timeStampNs:CMTimeGetSeconds(timestamp) * rtc::kNumNanosecsPerSec];