/system/core/libutils/ |
D | Timers.cpp | 30 static void checkClockId(int clock) { in checkClockId() argument 31 if (clock < 0 || clock >= clock_id_max) abort(); in checkClockId() 35 nsecs_t systemTime(int clock) { in systemTime() argument 36 checkClockId(clock); in systemTime() 42 clock_gettime(clocks[clock], &t); in systemTime() 46 nsecs_t systemTime(int clock) { in systemTime() argument 48 checkClockId(clock); in systemTime()
|
D | StopWatch.cpp | 33 StopWatch::StopWatch(const char* name, int clock) : mName(name), mClock(clock) { in StopWatch() argument
|
/system/netd/libnetdutils/include/netdutils/ |
D | Stopwatch.h | 27 using clock = std::chrono::steady_clock; 28 using time_point = std::chrono::time_point<clock>; 31 Stopwatch() : mStart(clock::now()) {} in Stopwatch() 34 int64_t timeTakenUs() const { return getElapsedUs(clock::now()); } in timeTakenUs() 36 const auto& now = clock::now(); in getTimeAndResetUs()
|
/system/update_engine/update_manager/ |
D | real_time_provider.cc | 37 CurrDateVariable(const string& name, ClockInterface* clock) in CurrDateVariable() argument 38 : Variable<Time>(name, TimeDelta::FromHours(1)), clock_(clock) {} in CurrDateVariable() 62 CurrHourVariable(const string& name, ClockInterface* clock) in CurrHourVariable() argument 63 : Variable<int>(name, TimeDelta::FromMinutes(5)), clock_(clock) {} in CurrHourVariable() 80 CurrMinuteVariable(const string& name, ClockInterface* clock) in CurrMinuteVariable() argument 81 : Variable<int>(name, TimeDelta::FromSeconds(15)), clock_(clock) {} in CurrMinuteVariable()
|
D | fake_update_manager.h | 29 explicit FakeUpdateManager(chromeos_update_engine::ClockInterface* clock) in FakeUpdateManager() argument 30 : UpdateManager(clock, in FakeUpdateManager() 35 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
|
D | state_factory.cc | 51 chromeos_update_engine::ClockInterface* const clock = system_state->clock(); in DefaultStateFactory() local 67 new RealShillProvider(new chromeos_update_engine::ShillProxy(), clock)); in DefaultStateFactory() 75 unique_ptr<RealTimeProvider> time_provider(new RealTimeProvider(clock)); in DefaultStateFactory()
|
D | update_manager.cc | 22 UpdateManager::UpdateManager(chromeos_update_engine::ClockInterface* clock, in UpdateManager() argument 27 default_policy_(clock), in UpdateManager() 29 clock_(clock), in UpdateManager()
|
D | real_time_provider.h | 32 explicit RealTimeProvider(chromeos_update_engine::ClockInterface* clock) in RealTimeProvider() argument 33 : clock_(clock) {} in RealTimeProvider()
|
D | evaluation_context.h | 67 chromeos_update_engine::ClockInterface* clock, 71 EvaluationContext(chromeos_update_engine::ClockInterface* clock, in EvaluationContext() argument 74 clock, in EvaluationContext()
|
D | real_shill_provider.h | 41 chromeos_update_engine::ClockInterface* clock) in RealShillProvider() argument 42 : shill_proxy_(shill_proxy), clock_(clock) {} in RealShillProvider()
|
D | default_policy.cc | 34 DefaultPolicy::DefaultPolicy(chromeos_update_engine::ClockInterface* clock) in DefaultPolicy() argument 35 : clock_(clock), aux_state_(new DefaultPolicyState()) {} in DefaultPolicy()
|
D | mock_policy.h | 32 explicit MockPolicy(chromeos_update_engine::ClockInterface* clock) in MockPolicy() argument 33 : default_policy_(clock) { in MockPolicy()
|
D | real_updater_provider.cc | 246 chromeos_update_engine::ClockInterface* clock = system_state()->clock(); in GetValue() local 247 Time curr_boottime = clock->GetBootTime(); in GetValue() 254 return new Time(clock->GetWallclockTime() - duration_since_update); in GetValue() 447 system_state->clock()->GetWallclockTime()), in RealUpdaterProvider()
|
/system/bt/gd/os/fuzz/ |
D | fake_timerfd.cc | 37 static uint64_t clock = 0; variable 70 entry->trigger_ms = clock + trigger_delta_ms; in fake_timerfd_settime() 85 clock = 0; in fake_timerfd_reset() 101 if (entry->trigger_ms > clock && entry->trigger_ms <= new_clock) { in fire_next_event() 124 uint64_t new_clock = clock + ms; in fake_timerfd_advance() 130 clock = new_clock; in fake_timerfd_advance()
|
/system/update_engine/ |
D | metrics_utils.h | 88 void SetSystemUpdatedMarker(ClockInterface* clock, PrefsInterface* prefs); 107 ClockInterface* clock);
|
D | metrics_utils.cc | 299 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper() 325 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper() 368 void SetSystemUpdatedMarker(ClockInterface* clock, PrefsInterface* prefs) { in SetSystemUpdatedMarker() argument 370 CHECK(clock); in SetSystemUpdatedMarker() 371 Time update_finish_time = clock->GetMonotonicTime(); in SetSystemUpdatedMarker() 397 ClockInterface* clock) { in LoadAndReportTimeToReboot() argument 399 CHECK(clock); in LoadAndReportTimeToReboot() 406 clock->GetMonotonicTime() - system_updated_at; in LoadAndReportTimeToReboot()
|
D | payload_state.cc | 200 ClockInterface* clock = system_state_->clock(); in AttemptStarted() local 201 attempt_start_time_boot_ = clock->GetBootTime(); in AttemptStarted() 202 attempt_start_time_monotonic_ = clock->GetMonotonicTime(); in AttemptStarted() 239 SetUpdateTimestampEnd(system_state_->clock()->GetWallclockTime()); in UpdateSucceeded() 259 metrics_utils::SetSystemUpdatedMarker(system_state_->clock(), prefs_); in UpdateSucceeded() 629 ClockInterface* clock = system_state_->clock(); in CollectAndReportAttemptMetrics() local 630 TimeDelta duration = clock->GetBootTime() - attempt_start_time_boot_; in CollectAndReportAttemptMetrics() 632 clock->GetMonotonicTime() - attempt_start_time_monotonic_; in CollectAndReportAttemptMetrics() 819 SetUpdateTimestampStart(system_state_->clock()->GetWallclockTime()); in ResetPersistedState() 1037 ? system_state_->clock()->GetWallclockTime() in GetUpdateDuration() [all …]
|
D | fake_system_state.h | 53 inline ClockInterface* clock() override { return clock_; } in clock() function 115 inline void set_clock(ClockInterface* clock) { in set_clock() argument 116 clock_ = clock ? clock : &fake_clock_; in set_clock()
|
/system/extras/boottime_tools/bootanalyze/ |
D | README.md | 13 On some devise clock is showing incorrect time for first couple of seconds after boot. 15 be present in dmesg log after clock correction.
|
/system/libufdt/tests/src/ |
D | ufdt_overlay_test_app.c | 53 clock_t start = clock(); in apply_overlay_files() 55 clock_t end = clock(); in apply_overlay_files()
|
D | fdt_overlay_test_app.c | 50 clock_t start = clock(); in apply_overlay_files() 52 clock_t end = clock(); in apply_overlay_files()
|
/system/core/libutils/include/utils/ |
D | Timers.h | 85 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC); 87 nsecs_t systemTime(int clock);
|
D | StopWatch.h | 32 StopWatch(const char* name, int clock = SYSTEM_TIME_MONOTONIC);
|
/system/media/radio/src/ |
D | radio_metadata.c | 253 const radio_metadata_clock_t *clock) { in radio_metadata_add_clock() argument 256 clock == NULL || clock->timezone_offset_in_minutes < (-12 * 60) || in radio_metadata_add_clock() 257 clock->timezone_offset_in_minutes > (14 * 60)) { in radio_metadata_add_clock() 261 (radio_metadata_buffer_t **)metadata, key, type, clock, sizeof(radio_metadata_clock_t)); in radio_metadata_add_clock()
|
/system/extras/simpleperf/ |
D | report_sample.proto | 20 // Wall clock time for current sample. 21 // By default, it is perf clock used in kernel. 42 // Event type can be cpu-cycles, cpu-clock, sched:sched_switch or other types.
|