Home
last modified time | relevance | path

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

/external/perfetto/src/profiling/common/
Dprofiler_guardrails.cc98 auto start_cputime_sec = ds.cpu_start_secs; in IsOverCpuThreshold() local
101 PERFETTO_CHECK(start_cputime_sec); in IsOverCpuThreshold()
102 uint64_t cpu_diff = cputime_sec - *start_cputime_sec; in IsOverCpuThreshold()
103 if (cputime_sec > *start_cputime_sec && cpu_diff > ds_max_cpu) { in IsOverCpuThreshold()
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc445 base::Optional<uint64_t> start_cputime_sec; in SetupDataSource() local
447 start_cputime_sec = GetCputimeSecForCurrentProcess(); in SetupDataSource()
449 if (!start_cputime_sec) { in SetupDataSource()
467 data_source.guardrail_config.cpu_start_secs = start_cputime_sec; in SetupDataSource()