Lines Matching defs:interval
54 int task_set_cpuusage(task_t task, uint64_t percentage, uint64_t interval, uint64_t deadline, int scope);
1398 * after I have used some amount of CPU time; this is different than the recurring percentage/interval model)
1405 proc_set_task_ruse_cpu(task_t task, uint32_t policy, uint32_t percentage, uint64_t interval, uint64_t deadline)
1443 error = task_set_cpuusage(task, percentage, interval, deadline, scope);
1539 task_set_cpuusage(task_t task, uint64_t percentage, uint64_t interval, uint64_t deadline, int scope)
1549 if (interval == 0)
1550 interval = NSEC_PER_SEC;
1555 limittime = (interval * percentage)/ 100;
1565 task->rusage_cpu_perthr_interval = interval;
1576 task->rusage_cpu_interval = interval;
1579 ledger_set_period(task->ledger, task_ledgers.cpu_time, interval);