P4C
The P4 Compiler
Loading...
Searching...
No Matches
ActionData::RamSectionPosition Struct Reference

#include <action_format.h>

Public Member Functions

 RamSectionPosition (const RamSection *sect)
 
void dbprint_multiline () const
 
size_t total_slots_of_type (SlotType_t slot_type) const
 

Public Attributes

int byte_offset = -1
 
const RamSectionsection
 

Friends

std::ostream & operator<< (std::ostream &out, const RamSectionPosition &rsp)
 

Detailed Description

Used to keep track of the coordination of RamSections and the byte offset in the RAM, either ActionData or Immediate based on the allocation scheme