Searched refs:busy_us (Results 1 – 2 of 2) sorted by relevance
/external/perfetto/tools/busy_threads/ |
D | busy_threads.cc | 68 int64_t busy_us, in BusyWait() argument 76 tbusy = tnext + busy_us * 1000; in BusyWait() 168 int64_t busy_us = in BusyThreadsMain() local 174 num_threads, period_us, busy_us); in BusyThreadsMain() 178 std::thread th(BusyWait, tstart, period_us, busy_us, thread_name_count); in BusyThreadsMain()
|
/external/igt-gpu-tools/tests/ |
D | perf_pmu.c | 1533 unsigned long cycle_us, busy_us, idle_us; in accuracy() local 1545 busy_us = cycle_us * target_busy_pct / 100; in accuracy() 1546 idle_us = cycle_us - busy_us; in accuracy() 1548 while (idle_us < 2500 || busy_us < 2500) { in accuracy() 1549 busy_us *= 2; in accuracy() 1552 cycle_us = busy_us + idle_us; in accuracy() 1558 (double)busy_us / cycle_us * 100.0, in accuracy() 1559 busy_us, idle_us); in accuracy() 1561 assert_within_epsilon((double)busy_us / cycle_us, in accuracy() 1607 _ts.tv_nsec = busy_us * 1000; in accuracy()
|