swap.state v2 log parser More...

Inheritance diagram for UFSSwapLogParser_v2:
Collaboration diagram for UFSSwapLogParser_v2:

Public Member Functions

 UFSSwapLogParser_v2 (FILE *fp)
 
bool ReadRecord (StoreSwapLogData &swapData)
 
int SwapLogEntries ()
 
void Close ()
 

Static Public Member Functions

static UFSSwapLogParserGetUFSSwapLogParser (FILE *fp)
 

Public Attributes

FILE * log
 
int log_entries
 
int record_size
 

Detailed Description

Definition at line 68 of file UFSSwapLogParser.cc.

Constructor & Destructor Documentation

UFSSwapLogParser_v2::UFSSwapLogParser_v2 ( FILE *  fp)
inline

Definition at line 71 of file UFSSwapLogParser.cc.

References Fs::Ufs::UFSSwapLogParser::record_size.

Member Function Documentation

void Fs::Ufs::UFSSwapLogParser::Close ( )
inlineinherited

Definition at line 34 of file UFSSwapLogParser.h.

References Fs::Ufs::UFSSwapLogParser::log, and NULL.

Fs::Ufs::UFSSwapLogParser * Fs::Ufs::UFSSwapLogParser::GetUFSSwapLogParser ( FILE *  fp)
staticinherited
bool UFSSwapLogParser_v2::ReadRecord ( StoreSwapLogData swapData)
inlinevirtual

Implements Fs::Ufs::UFSSwapLogParser.

Definition at line 74 of file UFSSwapLogParser.cc.

References assert, and Fs::Ufs::UFSSwapLogParser::log.

int Fs::Ufs::UFSSwapLogParser::SwapLogEntries ( )
inherited

Definition at line 170 of file UFSSwapLogParser.cc.

References log().

Member Data Documentation

FILE* Fs::Ufs::UFSSwapLogParser::log
inherited
int Fs::Ufs::UFSSwapLogParser::log_entries
inherited

Definition at line 23 of file UFSSwapLogParser.h.

int Fs::Ufs::UFSSwapLogParser::record_size
inherited

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors