gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
circlebuf.hh File Reference
#include <algorithm>
#include <cassert>
#include <vector>
#include "base/misc.hh"
#include "sim/serialize.hh"

Go to the source code of this file.

Classes

class  CircleBuf< T >
 Circular buffer backed by a vector. 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

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

Definition at line 273 of file circlebuf.hh.

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


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6