Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2025.2

# MonInteger - store 64-bit integer values

The MonInteger subclass of `MonItem` is used to access 64-bit integer values.

Constructor
`MonInteger( const char *name, int flags = 0 )` Constructs a new `MonInteger` with the provided name and flags (defaulting to none) or type `MIT_INT (2)`

For inherited methods, see MonItem - base class for performance counters.

Method
`P4INT64 Value() const` Reads the value of the counter

Your search for returned results