PMGetCycleCount

Syntax

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

Parameters

None.

Return Values

Cycle count.

Description

Gets the number of CPU cycles since a call to PMStartCycleAndInstructionCount or PMResetCycleAndInstructionCount was made.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

OSSetPerformanceMonitor
PMGetInstructionCount
PMResetCycleAndInstructionCount
PMStartCycleAndInstructionCount
PMStopCycleAndInstructionCount

Revision History

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


CONFIDENTIAL