PAPI
7.1.0.0
Loading...
Searching...
No Matches
pfmlib_powerpc.h
Go to the documentation of this file.
1
/*
2
* PowerPC PMU specific types and definitions.
3
*
4
* Permission is hereby granted, free of charge, to any person obtaining a copy
5
* of this software and associated documentation files (the "Software"), to deal
6
* in the Software without restriction, including without limitation the rights
7
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8
* of the Software, and to permit persons to whom the Software is furnished to do so,
9
* subject to the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be included in all
12
* copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
15
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
16
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
18
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
19
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
*/
21
22
#ifndef __PFMLIB_POWERPC_H_
23
#define __PFMLIB_POWERPC_H__
24
25
#include <
perfmon/pfmlib.h
>
26
27
/*
28
This privilege level mapping derives from from PAPI's perfmon.c's set_domain
29
function:
30
PFM_PLM0 = Kernel -> POWER supervisor state
31
PFM_PLM1 = Supervisor -> POWER hypervisor state
32
PFM_PLM2 = Other -> not supported
33
PFM_PLM3 = User -> POWER problem state
34
*/
35
36
#endif
/* __PFMLIB_POWERPC_H__ */
pfmlib.h
src
libperfnec
include
perfmon
pfmlib_powerpc.h
Generated on Wed Dec 20 2023 18:12:52 for PAPI by
1.9.6