Searched refs:period_us (Results 1 – 6 of 6) sorted by relevance
49 long period_us = -1; in BusyThreadsMain() local65 period_us = atol(optarg); in BusyThreadsMain()74 if (num_threads < 1 || period_us < 0 || duty_cycle < 1 || duty_cycle > 100) { in BusyThreadsMain()80 long busy_us = period_us * duty_cycle / 100; in BusyThreadsMain()81 long sleep_us = period_us - busy_us; in BusyThreadsMain()
108 period_us): argument114 '--period_us={}'.format(period_us)134 period_us))181 period_us,190 for period_us in BUSY_THREADS_PERIOD_US_PARAMS:198 period_us
61 public static double markerPosition(long t_us, int period_us) { in markerPosition() argument63 double t = (t_us % period_us) / (double) period_us; in markerPosition()
117 const int period_us = 1000000 / SAMPLES_PER_SEC; in r600_gpu_load_thread() local118 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()
134 const int period_us = 1000000 / SAMPLES_PER_SEC; in r600_gpu_load_thread() local135 int sleep_us = period_us; in r600_gpu_load_thread()146 if (os_time_timeout(last_time, last_time + period_us, in r600_gpu_load_thread()
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))