PMGetInstructionCount

Syntax

#include <cafe/os.h>
    
inline u32 PMGetInstructionCount()

Parameters

None.

Return Values

Instruction count.

Description

Gets the number of CPU instructions executed since a call to PMStartCycleAndInstructionCount or PMResetCycleAndInstructionCount.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

OSSetPerformanceMonitor
PMGetCycleCount
PMResetCycleAndInstructionCount
PMStartCycleAndInstructionCount
PMStopCycleAndInstructionCount

Revision History

2013-05-08 Automated cleanup pass.
2011-03-15 Initial version.


CONFIDENTIAL