| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

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;
    }

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines