Checkpoint Class Reference

The class Checkpoint contains the two vectors ch and ord_ch.Basic class for all Checkpointing schedules. More...

#include <revolve.h>

List of all members.

Public Member Functions

 Checkpoint (int s)
void print_ch (ostream &file)
void print_ord_ch (ostream &file)
void init_ord_ch ()
 ~Checkpoint ()

Public Attributes

vector< int > ch
vector< int > ord_ch
vector< int > number_of_writes
vector< int > number_of_reads
int advances
int takeshots
int commands


Detailed Description

The class Checkpoint contains the two vectors ch and ord_ch.Basic class for all Checkpointing schedules.

All checkpoints are stored in ch and the sequence of inizies can be found in ord_ch.

Definition at line 53 of file revolve.h.


Constructor & Destructor Documentation

Checkpoint::Checkpoint ( int  s  ) 

Definition at line 57 of file revolve.h.

References ch, number_of_reads, and number_of_writes.

Checkpoint::~Checkpoint (  ) 

Definition at line 68 of file revolve.h.

References ch, number_of_reads, number_of_writes, and ord_ch.


Member Function Documentation

void Checkpoint::print_ch ( ostream &  file  ) 

Definition at line 63 of file revolve.h.

References ch.

void Checkpoint::print_ord_ch ( ostream &  file  ) 

Definition at line 64 of file revolve.h.

References ord_ch.

void Checkpoint::init_ord_ch (  ) 

Definition at line 65 of file revolve.h.

References ord_ch.


Member Data Documentation

vector<int> Checkpoint::ch

Definition at line 59 of file revolve.h.

Referenced by Checkpoint(), print_ch(), and ~Checkpoint().

vector<int> Checkpoint::ord_ch

Definition at line 60 of file revolve.h.

Referenced by init_ord_ch(), print_ord_ch(), and ~Checkpoint().

vector<int> Checkpoint::number_of_writes

Definition at line 61 of file revolve.h.

Referenced by Checkpoint(), Revolve::number_of_writes(), and ~Checkpoint().

vector<int> Checkpoint::number_of_reads

Definition at line 62 of file revolve.h.

Referenced by Checkpoint(), Revolve::number_of_reads(), and ~Checkpoint().

int Checkpoint::advances

Definition at line 67 of file revolve.h.

Referenced by Schedule::get_advances().

int Checkpoint::takeshots

Definition at line 67 of file revolve.h.

Referenced by Schedule::get_shots().

int Checkpoint::commands

Definition at line 67 of file revolve.h.

Referenced by Offline::get_commands(), and Schedule::get_commands().


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for IWAVECORE by  doxygen 1.4.7