gem5  v20.1.0.0
Classes | Functions
circlebuf.hh File Reference
#include <algorithm>
#include <cassert>
#include <vector>
#include "base/circular_queue.hh"
#include "base/logging.hh"
#include "sim/serialize.hh"

Go to the source code of this file.

Classes

class  CircleBuf< T >
 Circular buffer backed by a vector though a CircularQueue. More...
 
class  Fifo< T >
 Simple FIFO implementation backed by a circular buffer. More...
 

Functions

template<typename T >
void arrayParamOut (CheckpointOut &cp, const std::string &name, const CircleBuf< T > &param)
 
template<typename T >
void arrayParamIn (CheckpointIn &cp, const std::string &name, CircleBuf< T > &param)
 
template<typename T >
void arrayParamOut (CheckpointOut &cp, const std::string &name, const Fifo< T > &param)
 
template<typename T >
void arrayParamIn (CheckpointIn &cp, const std::string &name, Fifo< T > &param)
 

Function Documentation

◆ arrayParamIn() [1/2]

template<typename T >
void arrayParamIn ( CheckpointIn cp,
const std::string &  name,
CircleBuf< T > &  param 
)

◆ arrayParamIn() [2/2]

template<typename T >
void arrayParamIn ( CheckpointIn cp,
const std::string &  name,
Fifo< T > &  param 
)

◆ arrayParamOut() [1/2]

template<typename T >
void arrayParamOut ( CheckpointOut cp,
const std::string &  name,
const CircleBuf< T > &  param 
)

◆ arrayParamOut() [2/2]

template<typename T >
void arrayParamOut ( CheckpointOut cp,
const std::string &  name,
const Fifo< T > &  param 
)

Definition at line 196 of file circlebuf.hh.

References arrayParamOut(), name(), Fifo< T >::peek(), and Fifo< T >::size().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17