/system/netd/include/ |
D | Stopwatch.h | 24 Stopwatch() : mStart(clock::now()) {} in Stopwatch() 29 return getElapsed(clock::now()); in timeTaken() 33 const auto& now = clock::now(); in getTimeAndReset() 40 typedef std::chrono::steady_clock clock; typedef 41 typedef std::chrono::time_point<clock> time_point;
|
/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() 60 CurrHourVariable(const string& name, ClockInterface* clock) in CurrHourVariable() argument 61 : Variable<int>(name, TimeDelta::FromMinutes(5)), clock_(clock) {} in CurrHourVariable()
|
D | fake_update_manager.h | 29 explicit FakeUpdateManager(chromeos_update_engine::ClockInterface* clock) in FakeUpdateManager() argument 30 : UpdateManager(clock, base::TimeDelta::FromSeconds(5), in FakeUpdateManager() 33 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
|
D | update_manager.cc | 24 UpdateManager::UpdateManager(chromeos_update_engine::ClockInterface* clock, in UpdateManager() argument 27 : default_policy_(clock), state_(state), clock_(clock), in UpdateManager()
|
D | state_factory.cc | 52 chromeos_update_engine::ClockInterface* const clock = system_state->clock(); in DefaultStateFactory() local 69 new RealShillProvider(new chromeos_update_engine::ShillProxy(), clock)); in DefaultStateFactory() 76 unique_ptr<RealTimeProvider> time_provider(new RealTimeProvider(clock)); in DefaultStateFactory()
|
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 | 69 chromeos_update_engine::ClockInterface* clock, 73 EvaluationContext(chromeos_update_engine::ClockInterface* clock, in EvaluationContext() argument 76 clock, evaluation_timeout, base::TimeDelta::Max(), 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 | 31 DefaultPolicy::DefaultPolicy(chromeos_update_engine::ClockInterface* clock) in DefaultPolicy() argument 32 : 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 | 244 chromeos_update_engine::ClockInterface* clock = system_state()->clock(); in GetValue() local 245 Time curr_boottime = clock->GetBootTime(); in GetValue() 252 return new Time(clock->GetWallclockTime() - duration_since_update); in GetValue() 422 system_state->clock()->GetWallclockTime()), in RealUpdaterProvider()
|
/system/core/libutils/ |
D | Timers.cpp | 26 nsecs_t systemTime(int clock) in systemTime() argument 37 clock_gettime(clocks[clock], &t); in systemTime()
|
D | StopWatch.cpp | 34 StopWatch::StopWatch(const char *name, int clock, uint32_t flags) in StopWatch() argument 35 : mName(name), mClock(clock), mFlags(flags) in StopWatch()
|
/system/update_engine/ |
D | fake_system_state.h | 52 inline ClockInterface* clock() override { return clock_; } in clock() function 111 inline void set_clock(ClockInterface* clock) { in set_clock() argument 112 clock_ = clock ? clock : &fake_clock_; in set_clock()
|
D | payload_state.cc | 189 ClockInterface *clock = system_state_->clock(); in AttemptStarted() local 190 attempt_start_time_boot_ = clock->GetBootTime(); in AttemptStarted() 191 attempt_start_time_monotonic_ = clock->GetMonotonicTime(); in AttemptStarted() 228 SetUpdateTimestampEnd(system_state_->clock()->GetWallclockTime()); in UpdateSucceeded() 590 ClockInterface *clock = system_state_->clock(); in CollectAndReportAttemptMetrics() local 591 TimeDelta duration = clock->GetBootTime() - attempt_start_time_boot_; in CollectAndReportAttemptMetrics() 592 TimeDelta duration_uptime = clock->GetMonotonicTime() - in CollectAndReportAttemptMetrics() 776 SetUpdateTimestampStart(system_state_->clock()->GetWallclockTime()); in ResetPersistedState() 994 ? system_state_->clock()->GetWallclockTime() : in GetUpdateDuration() 1005 Time now = system_state_->clock()->GetWallclockTime(); in LoadUpdateTimestampStart() [all …]
|
D | common_service.cc | 318 ClockInterface* clock = system_state_->clock(); in GetDurationSinceUpdate() local 319 *out_usec_wallclock = (clock->GetBootTime() - time).InMicroseconds(); in GetDurationSinceUpdate()
|
D | system_state.h | 70 virtual ClockInterface* clock() = 0;
|
D | p2p_manager.cc | 121 ClockInterface *clock, 222 ClockInterface *clock, in P2PManagerImpl() argument 227 : clock_(clock), in P2PManagerImpl() 732 ClockInterface *clock, in Construct() argument 738 clock, in Construct()
|
/system/libufdt/tests/src/ |
D | fdt_overlay_test_app.c | 50 clock_t start = clock(); in apply_overlay_files() 52 clock_t end = clock(); in apply_overlay_files()
|
D | ufdt_overlay_test_app.c | 53 clock_t start = clock(); in apply_overlay_files() 55 clock_t end = clock(); in apply_overlay_files()
|
/system/core/libutils/include/utils/ |
D | Timers.h | 89 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC); 91 nsecs_t systemTime(int clock);
|
D | StopWatch.h | 33 int clock = SYSTEM_TIME_MONOTONIC,
|
/system/media/radio/src/ |
D | radio_metadata.c | 250 const radio_metadata_clock_t *clock) { in radio_metadata_add_clock() argument 253 clock == NULL || clock->timezone_offset_in_minutes < (-12 * 60) || in radio_metadata_add_clock() 254 clock->timezone_offset_in_minutes > (14 * 60)) { in radio_metadata_add_clock() 258 (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 | 18 // Wall clock time for current sample. 19 // By default, it is perf clock used in kernel.
|
/system/tpm/trunks/ftdi/ |
D | mpsse.c | 434 mpsse->clock = div2freq(system_clock, divisor); in SetClock() 466 int clock = 0; in GetClock() local 469 clock = mpsse->clock; in GetClock() 472 return clock; in GetClock()
|