Searched refs:time_since_epoch (Results 1 – 25 of 32) sorted by relevance
12
37 return std::chrono::duration_cast<std::chrono::seconds>(now_tp.time_since_epoch()); in GetBootTimeSeconds()44 std::chrono::duration_cast<std::chrono::seconds>(boot_clock::now().time_since_epoch()); in TEST()
26 if (entry->deadline().time_since_epoch().count() != 0) { in NotifyNewLog()
57 if (deadline_.time_since_epoch().count() != 0) { in ThreadFunction()100 if (deadline_.time_since_epoch().count() == 0) { in ThreadFunction()
194 if (reader_thread->deadline().time_since_epoch().count() != 0) { in Prune()239 if (reader_thread->deadline().time_since_epoch().count() != 0) { in UidClear()
284 reader_thread->deadline().time_since_epoch().count() != 0)) { in Prune()348 } else if (reader->deadline().time_since_epoch().count() != 0) { in KickReader()
211 (int)pid, start.nsec(), static_cast<int64_t>(deadline.time_since_epoch().count())); in onDataAvailable()
27 std::chrono::nanoseconds duration(std::chrono::steady_clock::now().time_since_epoch()); in NanoTime()
97 std::chrono::system_clock::now().time_since_epoch()) in do_connect()109 std::chrono::system_clock::now().time_since_epoch()) in do_connect()
53 if (wakelock_acquired_time_.time_since_epoch().count()) { in OnWakelockAcquired()
77 …_buf + l, sizeof(_buf) - l, ".%03u", static_cast<unsigned int>(_now_ms.time_since_epoch().count() …
71 now.time_since_epoch()) % in DumpStopWatchLog()
67 day_start_tp.time_since_epoch()).count() % DAY_TO_SEC); in storage_info_t()
130 auto millis = time_point.time_since_epoch() / std::chrono::milliseconds(1) % 1000;
55 …rono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()) in GetTimestamp()
62 android::base::boot_clock::now().time_since_epoch()); in AddBootEvent()
97 android::base::boot_clock::now().time_since_epoch()) in GetUptimeSeconds()
128 duration_cast<chrono::seconds>(day_start_tp.time_since_epoch()).count()); in refresh()176 tp.time_since_epoch()).count() % DAY_TO_SEC); in update_perf_history()
186 android::base::boot_clock::now().time_since_epoch()); in WaitBootCompletedOrSchedule()408 android::base::boot_clock::now().time_since_epoch()); in InitiateMergeAndWait()
57 return uptime.time_since_epoch().count() / kNanosecondsPerJiffy; in get_uptime_jiffies()
369 setenv(kEnvFirstStageStartedAt, std::to_string(start_time.time_since_epoch().count()).c_str(), in FirstStageMain()
102 event->set_secs_since_epoch(system_clock::now().time_since_epoch().count()); in populate_event()
714 let time_since_epoch = match duration_since_epoch { in is_given_time_passed() localVariable720 time_since_epoch >= (given_time as u128) in is_given_time_passed()722 time_since_epoch > (given_time as u128) in is_given_time_passed()
41 .time_since_epoch() in elapsedRealtimeNano()
252 …rono::duration_cast<std::chrono::microseconds>(std::chrono::system_clock::now().time_since_epoch()) in Capture()