Home
last modified time | relevance | path

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

/xnu-11215/osfmk/kperf/
H A Dkperf.c294 return thread->c_switch != thread->kperf_c_switch; in kperf_thread_get_dirty()
301 thread->kperf_c_switch = thread->c_switch - 1; in kperf_thread_set_dirty()
303 thread->kperf_c_switch = thread->c_switch; in kperf_thread_set_dirty()
/xnu-11215/osfmk/kern/
H A Dbsd_kern.c1087 cswitch += thread->c_switch; in fill_taskprocinfo()
1114 ptinfo->pti_csw = (int32_t) MIN(task->c_switch + cswitch, INT32_MAX); in fill_taskprocinfo()
H A Dthread.c1013 dst_thread->c_switch = src_thread->c_switch; in thread_copy_resource_info()
1061 task->c_switch += thread->c_switch; in thread_terminate_queue_invoke()
H A Dthread.h670 uint32_t c_switch; /* total context switches */ member
H A Dtask.h298 uint32_t c_switch; /* total context switches */ member
H A Dtask.c1843 new_task->c_switch = 0; in task_create_internal()
1998 to_task->c_switch = from_task->c_switch; in task_rollup_accounting_info()
5708 n_csw = task->c_switch; in task_info()
5711 n_csw += thread->c_switch; in task_info()
H A Dsched_prim.c3268 thread->c_switch++; in thread_invoke()
3413 thread->c_switch++; in thread_invoke()