Home
last modified time | relevance | path

Searched refs:ns_per_user_hz_ (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc83 ns_per_user_hz_ = 1000000000ull / static_cast<uint64_t>(sysconf(_SC_CLK_TCK)); in SysStatsDataSource()
279 cpu_stat->set_user_ns(cpu_times[0] * ns_per_user_hz_); in ReadStat()
280 cpu_stat->set_user_ice_ns(cpu_times[1] * ns_per_user_hz_); in ReadStat()
281 cpu_stat->set_system_mode_ns(cpu_times[2] * ns_per_user_hz_); in ReadStat()
282 cpu_stat->set_idle_ns(cpu_times[3] * ns_per_user_hz_); in ReadStat()
283 cpu_stat->set_io_wait_ns(cpu_times[4] * ns_per_user_hz_); in ReadStat()
284 cpu_stat->set_irq_ns(cpu_times[5] * ns_per_user_hz_); in ReadStat()
285 cpu_stat->set_softirq_ns(cpu_times[6] * ns_per_user_hz_); in ReadStat()
Dsys_stats_data_source.h64 void set_ns_per_user_hz_for_testing(uint64_t ns) { ns_per_user_hz_ = ns; } in set_ns_per_user_hz_for_testing()
93 uint64_t ns_per_user_hz_ = 0; variable