29#ifndef __LEARNING_GEM5_GOODBYE_OBJECT_HH__
30#define __LEARNING_GEM5_GOODBYE_OBJECT_HH__
34#include "params/GoodbyeObject.hh"
std::string message
The message to put into the buffer.
void fillBuffer()
Fills the buffer for one iteration.
int bufferSize
The size of the buffer we are going to fill.
void sayGoodbye(std::string name)
Called by an outside object.
GoodbyeObject(const GoodbyeObjectParams &p)
float bandwidth
The bytes processed per tick.
void processEvent()
Fill the buffer with the next chunk of data.
char * buffer
The buffer we are putting our message in.
EventFunctionWrapper event
An event that wraps the above function.
int bufferUsed
The amount of the buffer we've used so far.
virtual std::string name() const
Abstract superclass for simulation objects.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.