Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/kperf/
H A Dthread_samplers.c134 kperf_thread_scheduling_sample(struct kperf_thread_scheduling *thsc, in kperf_thread_scheduling_sample() argument
137 assert(thsc != NULL); in kperf_thread_scheduling_sample()
144 thsc->kpthsc_user_time = timer_grab(&thread->user_timer); in kperf_thread_scheduling_sample()
148 thsc->kpthsc_system_time = system_time; in kperf_thread_scheduling_sample()
150 thsc->kpthsc_user_time += system_time; in kperf_thread_scheduling_sample()
151 thsc->kpthsc_system_time = 0; in kperf_thread_scheduling_sample()
154 thsc->kpthsc_runnable_time = timer_grab(&thread->runnable_timer); in kperf_thread_scheduling_sample()
155 thsc->kpthsc_state = thread->state; in kperf_thread_scheduling_sample()
156 thsc->kpthsc_base_priority = thread->base_pri; in kperf_thread_scheduling_sample()
157 thsc->kpthsc_sched_priority = thread->sched_pri; in kperf_thread_scheduling_sample()
[all …]