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) override
 
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::UFSSwapLogParser_v2 ( FILE *  fp)
inline

Definition at line 71 of file UFSSwapLogParser.cc.

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

Member Function Documentation

◆ Close()

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

Definition at line 34 of file UFSSwapLogParser.h.

References Fs::Ufs::UFSSwapLogParser::log.

◆ GetUFSSwapLogParser()

Fs::Ufs::UFSSwapLogParser * Fs::Ufs::UFSSwapLogParser::GetUFSSwapLogParser ( FILE *  fp)
staticinherited

◆ ReadRecord()

bool UFSSwapLogParser_v2::ReadRecord ( StoreSwapLogData swapData)
inlineoverridevirtual

Implements Fs::Ufs::UFSSwapLogParser.

Definition at line 74 of file UFSSwapLogParser.cc.

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

◆ SwapLogEntries()

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

Definition at line 129 of file UFSSwapLogParser.cc.

References log(), and sb.

Member Data Documentation

◆ log

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

◆ log_entries

int Fs::Ufs::UFSSwapLogParser::log_entries
inherited

Definition at line 23 of file UFSSwapLogParser.h.

◆ record_size

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