Lines Matching refs:cpu_time
1442 ledger_set_action(thread->t_threadledger, thread_ledgers.cpu_time,
1444 ledger_disable_callback(thread->t_threadledger, thread_ledgers.cpu_time);
1460 if ((idx = ledger_entry_add(t, "cpu_time", "sched", "ns")) < 0) {
1461 panic("couldn't create cpu_time entry for thread ledger template");
1466 panic("couldn't set thread ledger callback for cpu_time entry");
1469 thread_ledgers.cpu_time = idx;
1517 ledger_entry_setactive(l, thread_ledgers.cpu_time);
1527 ledger_set_limit(l, thread_ledgers.cpu_time, abstime);
1531 ledger_set_period(l, thread_ledgers.cpu_time, interval_ns);
1538 ledger_set_action(l, thread_ledgers.cpu_time, LEDGER_ACTION_EXCEPTION);
1544 ledger_disable_callback(l, thread_ledgers.cpu_time);
1545 ledger_set_action(l, thread_ledgers.cpu_time, LEDGER_ACTION_BLOCK);