P4C
The P4 Compiler
BMV2::DirectMeterMap Class Referencefinal

Classes

struct  DirectMeterInfo
 

Public Member Functions

DirectMeterInfogetInfo (const IR::IDeclaration *meter)
 
void setDestination (const IR::IDeclaration *meter, const IR::Expression *destination)
 
void setSize (const IR::IDeclaration *meter, unsigned size)
 
void setTable (const IR::IDeclaration *meter, const IR::P4Table *table)
 

Member Function Documentation

◆ setDestination()

void BMV2::DirectMeterMap::setDestination ( const IR::IDeclaration meter,
const IR::Expression *  destination 
)

Set the destination that a meter is attached to??

◆ setSize()

void BMV2::DirectMeterMap::setSize ( const IR::IDeclaration meter,
unsigned  size 
)

Set the size of the table that a meter is attached to.

◆ setTable()

void BMV2::DirectMeterMap::setTable ( const IR::IDeclaration meter,
const IR::P4Table *  table 
)

Set the table that a direct meter is attached to.