PAPI
7.1.0.0
Loading...
Searching...
No Matches
Functions
pfmlib_comp_powerpc.h File Reference
Go to the source code of this file.
Functions
static unsigned
long
pfmlib_popcnt
(unsigned
long
v)
Function Documentation
◆
pfmlib_popcnt()
static unsigned
long
pfmlib_popcnt
(
unsigned
long
v
)
inline
static
Definition at line
40
of file
pfmlib_comp_powerpc.h
.
41
{
42
unsigned
long
sum = 0;
43
44
for
(; v ; v >>=1) {
45
if
(v & 0x1) sum++;
46
}
47
return
sum;
48
}
src
libperfnec
include
perfmon
pfmlib_comp_powerpc.h
Generated on Wed Dec 20 2023 18:12:54 for PAPI by
1.9.6