Searched refs:period_us (Results 1 – 9 of 9) sorted by relevance
/external/perfetto/tools/busy_threads/ |
D | busy_threads.cc | 67 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/ |
D | load_tool | 106 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/ |
D | TouchCatcherView.java | 61 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/ |
D | linux.rs | 196 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/ |
D | r600_gpu_load.c | 117 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/ |
D | si_gpu_load.c | 133 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/ |
D | kernel_SchedBandwith.py | 166 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/ |
D | gem_exec_balancer.c | 403 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/ |
D | intel_gpu_top.c | 1254 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()
|