1 /*---------------------------------------------------------------------------*
2   Project:  Performance Monitor API
3   File:     PPCPm.h
4 
5   Copyright 1998, 1999 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   $Log: PPCPm.h,v $
14   Revision 1.1.1.1  2005/12/29 06:53:27  hiratsu
15   Initial import.
16 
17   Revision 1.1.1.1  2005/05/12 02:41:07  yasuh-to
18   Ported from dolphin source tree.
19 
20 
21     1     1999/12/16 6:21p Shiki
22     Initial check-in.
23   $NoKeywords: $
24  *---------------------------------------------------------------------------*/
25 
26 #ifndef __PPCPM_H__
27 #define __PPCPM_H__
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 void PMBegin        (void);
34 void PMEnd          (void);
35 
36 u32  PMCycles       (void);
37 u32  PML1FetchMisses(void);
38 u32  PML1MissCycles (void);
39 u32  PMInstructions (void);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif  // __PPCPM_H__
46