Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/kern/
H A Dkern_monotonic.c188 #ifdef MT_CORE_INSTRS in mt_sched_update()
189 mtc->mtc_counts[MT_CORE_INSTRS], in mt_sched_update()
385 #ifdef MT_CORE_INSTRS in mt_cur_thread_instrs()
396 count = curthread->t_monotonic.mth_counts[MT_CORE_INSTRS]; in mt_cur_thread_instrs()
427 #ifdef MT_CORE_INSTRS in mt_cur_cpu_instrs()
435 return counts[MT_CORE_INSTRS]; in mt_cur_cpu_instrs()
467 #ifdef MT_CORE_INSTRS in mt_cur_cpu_cycles_instrs_speculative()
468 *instrs = counts[MT_CORE_INSTRS]; in mt_cur_cpu_cycles_instrs_speculative()
509 #ifdef MT_CORE_INSTRS in mt_perfcontrol()
510 *instrs = mtc->mtc_snaps[MT_CORE_INSTRS]; in mt_perfcontrol()
[all …]
H A Dtelemetry.c354 #if defined(MT_CORE_INSTRS) && defined(MT_CORE_CYCLES)
365 #if defined(MT_CORE_INSTRS) && defined(MT_CORE_CYCLES) in telemetry_pmi_setup()
392 ctr = MT_CORE_INSTRS; in telemetry_pmi_setup()
H A Dcoalition.c668 #if defined(MT_CORE_INSTRS) in i_coal_resource_remove_task()
669 cr->cpu_instructions += counts[MT_CORE_INSTRS]; in i_coal_resource_remove_task()
821 #if defined(MT_CORE_INSTRS) in coalition_resource_usage_internal()
822 cpu_instructions += counts[MT_CORE_INSTRS]; in coalition_resource_usage_internal()
H A Dbsd_kern.c1303 #ifdef MT_CORE_INSTRS in fill_task_monotonic_rusage()
1304 ri->ri_instructions = counts[MT_CORE_INSTRS]; in fill_task_monotonic_rusage()
H A Dthread.c507 #ifdef MT_CORE_INSTRS in thread_terminate_self()
508 counts[MT_CORE_INSTRS], in thread_terminate_self()
558 #ifdef MT_CORE_INSTRS in thread_terminate_self()
559 counts[MT_CORE_INSTRS], in thread_terminate_self()
H A Dtask.c8256 #ifdef MT_CORE_INSTRS in task_inspect()
8257 bc->instructions = task_counts[MT_CORE_INSTRS]; in task_inspect()
/xnu-8019.80.24/bsd/dev/
H A Dmonotonic.c321 #ifdef MT_CORE_INSTRS in thread_selfcounts()
322 counts[0] = thread_counts[MT_CORE_INSTRS]; in thread_selfcounts()
419 #ifdef MT_CORE_INSTRS
420 counts[0] = end[MT_CORE_INSTRS] - start[MT_CORE_INSTRS];
/xnu-8019.80.24/bsd/sys/
H A Dmonotonic.h122 #ifdef MT_CORE_INSTRS
123 #define COUNTS_INSTRS __counts[MT_CORE_INSTRS]
/xnu-8019.80.24/osfmk/x86_64/
H A Dmonotonic.h37 #define MT_CORE_INSTRS 0 macro
/xnu-8019.80.24/osfmk/arm64/
H A Dmonotonic.h54 #define MT_CORE_INSTRS 1 macro
/xnu-8019.80.24/osfmk/arm/
H A Dmachine_routines_common.c354 #ifdef MT_CORE_INSTRS in perfcontrol_callout_counters_end()
356 end_counters[MT_CORE_INSTRS] - start_counters[MT_CORE_INSTRS], relaxed); in perfcontrol_callout_counters_end()
/xnu-8019.80.24/osfmk/kperf/
H A Dthread_samplers.c413 BUF_DATA(PERF_TI_INSCYCDATA, counts[MT_CORE_INSTRS], counts[MT_CORE_CYCLES]); in kperf_thread_inscyc_log()
/xnu-8019.80.24/osfmk/i386/
H A DDiagnostics.c288 cest.cpu_insns = cpu_data_ptr[i]->cpu_monotonic.mtc_counts[MT_CORE_INSTRS]; in diagCall64()