1 /*---------------------------------------------------------------------------*
2   Project:  Performance Monitor API
3   File:     PPCPm.h
4 
5   Copyright (C) Nintendo.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13  *---------------------------------------------------------------------------*/
14 
15 #ifndef __PPCPM_H__
16 #define __PPCPM_H__
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 void PMBegin        (void);
23 void PMEnd          (void);
24 
25 u32  PMCycles       (void);
26 u32  PML1FetchMisses(void);
27 u32  PML1MissCycles (void);
28 u32  PMInstructions (void);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif  // __PPCPM_H__
35