PMCPUReadGroup

Syntax

#include <cafe/pmcpu.h>

void PMCPUReadGroup(PMCPUGroup *group); 

Parameters

group Pointer to data type PMCPUGroup that has been assigned events using PMCPUSetGroup.

Return Values

None.

Description

Reads the performance counters determined by group. The values read are in group→pmc1, group→pmc2, group→pmc3, and group→pmc4 corresponding to nonzero group events.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

OSSetPerformanceMonitor
PMGetCycleCount
PMGetInstructionCount
PMResetCycleAndInstructionCount
PMStartCycleAndInstructionCount
PMStopCycleAndInstructionCount
PMCPUSetGroup
PMCPUStartGroup
PMCPUStopGroup
PMCPUResetGroup
PMCPUResetStartGroup

Revision History

2013/05/08 Automated cleanup pass.
2011/07/13 Initial version.


CONFIDENTIAL