Searched refs:start_cputime_sec (Results 1 – 2 of 2) sorted by relevance
98 auto start_cputime_sec = ds.cpu_start_secs; in IsOverCpuThreshold() local101 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()
445 base::Optional<uint64_t> start_cputime_sec; in SetupDataSource() local447 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()