Home
last modified time | relevance | path

Searched refs:period_us (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/tools/busy_threads/
Dbusy_threads.cc64 int64_t period_us, in BusyWait() argument
74 tnext += period_us * 1000; in BusyWait()
96 int64_t period_us = -1; in BusyThreadsMain() local
117 period_us = atol(optarg); in BusyThreadsMain()
131 if (num_threads < 1 || period_us < 0 || duty_cycle < 1 || duty_cycle > 100 || in BusyThreadsMain()
137 int64_t busy_us = static_cast<int64_t>(period_us * (duty_cycle / 100.0)); in BusyThreadsMain()
141 num_threads, period_us, busy_us); in BusyThreadsMain()
145 std::thread th(BusyWait, tstart, period_us, busy_us, thread_name_count); in BusyThreadsMain()
/external/perfetto/tools/
Dload_tool106 num_threads, duty_cycle, period_us): argument
110 '--period_us={}'.format(period_us))
118 period_us))
161 period_us, num_sched, num_overrun))
169 for period_us in BUSY_THREADS_PERIOD_US_PARAMS:
171 num_threads, duty_cycle, period_us)
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTouchCatcherView.java61 public static double markerPosition(long t_us, int period_us) { in markerPosition() argument
63 double t = (t_us % period_us) / (double) period_us; in markerPosition()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_gpu_load.c117 const int period_us = 1000000 / SAMPLES_PER_SEC; in r600_gpu_load_thread() local
118 int sleep_us = period_us; in r600_gpu_load_thread()
129 if (os_time_timeout(last_time, last_time + period_us, in r600_gpu_load_thread()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gpu_load.c133 const int period_us = 1000000 / SAMPLES_PER_SEC; in si_gpu_load_thread() local
134 int sleep_us = period_us; in si_gpu_load_thread()
145 if (os_time_timeout(last_time, last_time + period_us, cur_time)) in si_gpu_load_thread()
/external/autotest/client/site_tests/kernel_SchedBandwith/
Dkernel_SchedBandwith.py166 period_us = int(utils.read_one_line(os.path.join(self._CG_CRB_DIR,
172 self._cg_set_quota(int(period_us * 0.1))
/external/igt-gpu-tools/tests/i915/
Dgem_exec_balancer.c403 static double measure_load(int pmu, int period_us) in measure_load() argument
414 usleep(period_us); in measure_load()
423 static double measure_min_load(int pmu, unsigned int num, int period_us) in measure_min_load() argument
436 usleep(period_us); in measure_min_load()
457 static void measure_all_load(int pmu, double *v, unsigned int num, int period_us) in measure_all_load() argument
469 usleep(period_us); in measure_all_load()
/external/igt-gpu-tools/tools/
Dintel_gpu_top.c1254 unsigned int period_us = DEFAULT_PERIOD_MS * 1000; in main() local
1268 period_us = atoi(optarg) * 1000; in main()
1384 usleep(period_us); in main()