Home
last modified time | relevance | path

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

/external/perfetto/tools/busy_threads/
Dbusy_threads.cc67 int64_t period_us, in BusyWait() argument
77 tnext += period_us * 1000; in BusyWait()
100 int64_t period_us = -1; in BusyThreadsMain() local
124 period_us = atol(optarg); in BusyThreadsMain()
138 if (num_threads < 1 || period_us < 0 || duty_cycle < 1 || duty_cycle > 100 || in BusyThreadsMain()
169 static_cast<int64_t>(static_cast<double>(period_us) * in BusyThreadsMain()
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/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/rust/crates/num_cpus/src/
Dlinux.rs196 let period_us = some!(self.period_us()); in cpu_quota() localVariable
199 if period_us == 0 { in cpu_quota()
206 Some((quota_us as f64 / period_us as f64).ceil() as usize) in cpu_quota()
213 fn period_us(&self) -> Option<usize> { in period_us() method
405 assert_eq!(cgroup.period_us(), Some(0)); in test_cgroup_cpu_quota_divide_by_zero()
/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()