| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Functions

# pfmlib_comp_i386.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_i386.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