Stats

Class objects are used to local metrics aggregation inside Routers.

Method

void FlitRouted(const Flit& flit);

Remembers stats for the routed Flit

Method

void FlitReceived(std::int32_t relay, std::int32_t vc);

Remembers stats for the received Router

Method

void StartStuckTimer(std::int32_t relay, std::int32_t vc);

Starts timer for Buffer stuck delay

Method

void StopStuckTimer(std::int32_t relay, std::int32_t vc);

Stops timer for Buffer stuck delay

Method

void PushLoad(std::int32_t relay, std::int32_t vc, double load);

Remembers stats of buffer load

Method

double GetMaxBufferStuckDelay(std::int32_t relay, std::int32_t vc);

Returns maximum stuck delay of the specified Buffer

Method

std::int32_t GetBufferFlitsReceived(std::int32_t relay, std::int32_t vc);

Returns number of flits received by specified Buffer

Method

double GetMaxBufferStuckDelay();

Returns maximum stuck delay among all of the Buffers

Method

double GetAverageBufferLoad(std::int32_t relay, std::int32_t vc) const;

Returns average load of the specified Buffer

Method

double GetAverageBufferLoad() const;

Returns average load among all of the Buffers

Method

std::int32_t GetFlitsRouted() const;

Returns number of the routed Flits