Home
last modified time | relevance | path

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

/xnu-8020.121.3/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.c504 #ifdef MT_CORE_INSTRS in thread_terminate_self()
505 counts[MT_CORE_INSTRS], in thread_terminate_self()
555 #ifdef MT_CORE_INSTRS in thread_terminate_self()
556 counts[MT_CORE_INSTRS], in thread_terminate_self()
H A Dtask.c8253 #ifdef MT_CORE_INSTRS in task_inspect()
8254 bc->instructions = task_counts[MT_CORE_INSTRS]; in task_inspect()
/xnu-8020.121.3/bsd/dev/
H A Dmonotonic.c324 #ifdef MT_CORE_INSTRS in thread_selfcounts()
325 counts.tcpi_instructions = thread_counts[MT_CORE_INSTRS]; in thread_selfcounts()
422 #ifdef MT_CORE_INSTRS
423 counts[0] = end[MT_CORE_INSTRS] - start[MT_CORE_INSTRS];
/xnu-8020.121.3/bsd/sys/
H A Dmonotonic.h113 #ifdef MT_CORE_INSTRS
114 #define COUNTS_INSTRS __counts[MT_CORE_INSTRS]
/xnu-8020.121.3/osfmk/x86_64/
H A Dmonotonic.h38 #define MT_CORE_INSTRS 0 macro
/xnu-8020.121.3/osfmk/arm64/
H A Dmonotonic.h57 #define MT_CORE_INSTRS 1 macro
/xnu-8020.121.3/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-8020.121.3/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-8020.121.3/osfmk/i386/
H A DDiagnostics.c288 cest.cpu_insns = cpu_data_ptr[i]->cpu_monotonic.mtc_counts[MT_CORE_INSTRS]; in diagCall64()
/xnu-8020.121.3/bsd/kern/
H A Dsys_generic.c2593 #if defined(MT_CORE_INSTRS) && defined(MT_CORE_CYCLES)