Searched refs:perfmon_control (Results 1 - 4 of 4) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ppc/ |
H A D | syscall_sw.h | 72 ppc_trap(perfmon_control,0x600B)
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | PPCcalls.h | 61 PPCcall(perfmon_control), /* 0x600B performance monitor */
|
H A D | hw_perfmon.h | 46 /* these actions can be combined and simultaneously performed with a single call to perfmon_control() */ 55 /* these actions can not be combined and each requires a separate call to perfmon_control() */ 88 extern int perfmon_control(struct savearea *save); 99 * int perfmon_control(thread_t thread, perfmon_action_t action, int pmc, u_int32_t val, u_int64_t *pmcs); 107 * perfmon_control(thread, PPC_PERFMON_CLEAR_COUNTERS, 0, 0, NULL); 108 * perfmon_control(thread, PPC_PERFMON_START_COUNTERS, 0, 0, NULL); 109 * perfmon_control(thread, PPC_PERFMON_STOP_COUNTERS, 0, 0, NULL); 110 * perfmon_control(thread, PPC_PERFMON_READ_COUNTERS, 0, 0, uint64_t *pmcs); 111 * perfmon_control(thread, PPC_PERFMON_WRITE_COUNTERS, 0, 0, uint64_t *pmcs); 112 * perfmon_control(threa [all...] |
H A D | hw_perfmon.c | 763 int perfmon_control(struct savearea *ssp) function 787 // kprintf("perfmon_control: action=0x%x pmc=%d val=%d pmcs=0x%x\n", action, pmc, val, usr_pmcs_p); 803 kprintf("perfmon_control: ERROR - perfmon not enabled for this thread\n"); 882 kprintf("perfmon_control (CPU%d): mmcr0 = %016llX, pmc1=%X pmc2=%X pmc3=%X pmc4=%X pmc5=%X pmc6=%X pmc7=%X pmc8=%X\n", cpu_number(), ssp->save_mmcr0, ssp->save_pmc[PMC_1], ssp->save_pmc[PMC_2], ssp->save_pmc[PMC_3], ssp->save_pmc[PMC_4], ssp->save_pmc[PMC_5], ssp->save_pmc[PMC_6], ssp->save_pmc[PMC_7], ssp->save_pmc[PMC_8]); 891 kprintf("perfmon_control - ERROR: retval=%d\n", retval);
|
Completed in 34 milliseconds