Home
last modified time | relevance | path

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

/xnu-10002.81.5/osfmk/kern/
H A Dkern_monotonic.c154 return counts[MT_CORE_INSTRS]; in mt_cur_cpu_instrs()
186 uint64_t instrs_sum = mtc->mtc_counts[MT_CORE_INSTRS]; in mt_cur_cpu_cycles_instrs_speculative()
190 if (__probable(cur_instrs > mtc->mtc_snaps[MT_CORE_INSTRS])) { in mt_cur_cpu_cycles_instrs_speculative()
191 instrs_sum += cur_instrs - mtc->mtc_snaps[MT_CORE_INSTRS]; in mt_cur_cpu_cycles_instrs_speculative()
197 mtc->mtc_counts[MT_CORE_INSTRS] = instrs_sum; in mt_cur_cpu_cycles_instrs_speculative()
199 mtc->mtc_snaps[MT_CORE_INSTRS] = cur_instrs; in mt_cur_cpu_cycles_instrs_speculative()
210 *instrs = counts[MT_CORE_INSTRS]; in mt_cur_cpu_cycles_instrs_speculative()
231 *instrs = mtc->mtc_snaps[MT_CORE_INSTRS]; in mt_perfcontrol()
H A Dtelemetry.c442 ctr = MT_CORE_INSTRS; in telemetry_pmi_setup()
/xnu-10002.81.5/osfmk/x86_64/
H A Dmonotonic.h38 #define MT_CORE_INSTRS 0 macro
/xnu-10002.81.5/bsd/dev/
H A Dmonotonic.c329 counts[MT_CORE_INSTRS] = usage->ru_instructions; in _convert_usage_to_counts()
426 counts[0] = end[MT_CORE_INSTRS] - start[MT_CORE_INSTRS];
/xnu-10002.81.5/osfmk/arm64/
H A Dmonotonic.h57 #define MT_CORE_INSTRS 1 macro
/xnu-10002.81.5/bsd/sys/
H A Dmonotonic.h132 KDBG(MT_KDBG_TMPCPU_EVT(CODE) | (FUNC), __counts[MT_CORE_INSTRS], \
/xnu-10002.81.5/osfmk/i386/
H A DDiagnostics.c289 cest.cpu_insns = cpu_data_ptr[i]->cpu_monotonic.mtc_counts[MT_CORE_INSTRS]; in diagCall64()
/xnu-10002.81.5/osfmk/arm/
H A Dmachine_routines_common.c360 end_counters[MT_CORE_INSTRS] - start_counters[MT_CORE_INSTRS], relaxed); in perfcontrol_callout_counters_end()
/xnu-10002.81.5/bsd/kern/
H A Dsys_generic.c2528 #if defined(MT_CORE_INSTRS) && defined(MT_CORE_CYCLES)