Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Duser_metrics.cc23 g_task_runner = LAZY_INSTANCE_INITIALIZER; variable
32 if (!g_task_runner.Get()) { in RecordComputedAction()
37 if (!g_task_runner.Get()->BelongsToCurrentThread()) { in RecordComputedAction()
38 g_task_runner.Get()->PostTask(FROM_HERE, in RecordComputedAction()
50 DCHECK(g_task_runner.Get()); in AddActionCallback()
51 DCHECK(g_task_runner.Get()->BelongsToCurrentThread()); in AddActionCallback()
56 DCHECK(g_task_runner.Get()); in RemoveActionCallback()
57 DCHECK(g_task_runner.Get()->BelongsToCurrentThread()); in RemoveActionCallback()
70 DCHECK(!g_task_runner.Get() || g_task_runner.Get()->BelongsToCurrentThread()); in SetRecordActionTaskRunner()
71 g_task_runner.Get() = task_runner; in SetRecordActionTaskRunner()
/external/perfetto/tools/dump_ftrace_stats/
Dmain.cc32 base::UnixTaskRunner* g_task_runner = nullptr; variable
69 g_task_runner->PostDelayedTask(&DumpAllCpuStats, 500); in DumpAllCpuStats()
103 g_task_runner->PostDelayedTask(&DumpAllCpuStats, 500); in DumpAllCpuStats()
115 sa.sa_handler = [](int) { g_task_runner->Quit(); }; in SetupCtrlCHandler()
124 g_task_runner = &task_runner; in DumpFtraceStatsMain()