P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
P4::DirectMeterMap Class Referencefinal

Classes

struct  DirectMeterInfo
 

Public Member Functions

DirectMeterInfogetInfo (const IR::IDeclaration *meter)
 
void setDestination (const IR::IDeclaration *meter, const IR::Expression *destination)
 Set the destination that a meter is attached to??
 
void setSize (const IR::IDeclaration *meter, unsigned size)
 Set the size of the table that a meter is attached to.
 
void setTable (const IR::IDeclaration *meter, const IR::P4Table *table)
 Set the table that a direct meter is attached to.