CohereSim: A Bus-based Cache Simulator  v3.3
A tool for education in computing - learn about coherence protocols, replacement policies, and SMP vs DSM
Public Member Functions | Data Fields
bus_event Struct Reference

The BusEvent class. More...

#include <interactive_mode_coherence.h>

Public Member Functions

 bus_event (bus_msg_e bmsg, uint32_t issuer)
 Create a new bus event. More...
 
 bus_event (statistic_e stat, uint32_t issuer)
 Create a new bus event. More...
 

Data Fields

uint32_t event
 The bus event that occurred.
 
uint32_t issuer
 The id of the resonsible cache.
 

Detailed Description

The BusEvent class.

Constructor & Destructor Documentation

◆ bus_event() [1/2]

bus_event::bus_event ( bus_msg_e  bmsg,
uint32_t  issuer 
)

Create a new bus event.

Parameters
bmsgThe bus event that occurred
issuerThe id of the responsible cache

◆ bus_event() [2/2]

bus_event::bus_event ( statistic_e  stat,
uint32_t  issuer 
)

Create a new bus event.

Parameters
statThe bus event that occurred
issuerThe id of the responsible cache

The documentation for this struct was generated from the following files: