| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
pfmlib_comp_x86_64.h File Reference

Go to the source code of this file.

## Functions
static unsigned long | pfmlib_popcnt (unsigned long v)

## Function Documentation

static unsigned long pfmlib_popcnt | ( | unsigned long | v | ) |
| inline static

Definition at line 40 of file pfmlib_comp_x86_64.h.

{
unsigned long sum = 0;
for(; v ; v >>=1) {
if (v & 0x1) sum++;
}
return sum;
}