Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Lock_Data Struct Reference

List of all members.

Public Member Functions

 Lock_Data (which_lock_t lock)
void read_start_time (FILE *input) throw (FS::EndOfFile)
void read_reason (FILE *input) throw (FS::EndOfFile)
bool read_record (FILE *input) throw (FS::EndOfFile, FileFormatError)
void print_lock_info (ostream &out, const char *indent, const struct timeval *beginning=0) const
void plot_lock_info (unsigned int x_val, ostream &acquire_stream, ostream &hold_stream, ostream &release_stream, const struct timeval &beginning) const
bool operator<= (const Lock_Data &other) const

Public Attributes

which_lock_t lock
timeval start_time
Delta_Time time_to_acquire
bool acquired
bool write
Delta_Time time_held
Delta_Time time_to_release
Atomreason

Classes

struct  FileFormatError

Constructor & Destructor Documentation

Lock_Data::Lock_Data which_lock_t  lock  )  [inline]
 

Definition at line 78 of file read_lock_timing.C.


Member Function Documentation

bool Lock_Data::operator<= const Lock_Data other  )  const [inline]
 

Definition at line 292 of file read_lock_timing.C.

References start_time, and time_to_acquire.

void Lock_Data::plot_lock_info unsigned int  x_val,
ostream &  acquire_stream,
ostream &  hold_stream,
ostream &  release_stream,
const struct timeval &  beginning
const [inline]
 

Definition at line 243 of file read_lock_timing.C.

References acquired, Delta_Time::msecs(), time_held, time_to_acquire, and time_to_release.

void Lock_Data::print_lock_info ostream &  out,
const char *  indent,
const struct timeval *  beginning = 0
const [inline]
 

Definition at line 190 of file read_lock_timing.C.

References acquired, Text::cchars(), lock, Delta_Time::msecs(), reason, stable, time_held, time_to_acquire, time_to_release, userGroup, volatileRoot, and write.

void Lock_Data::read_reason FILE *  input  )  throw (FS::EndOfFile) [inline]
 

Definition at line 106 of file read_lock_timing.C.

References NEW_CONSTR, NEW_PTRFREE_ARRAY, and reason.

Referenced by read_record().

bool Lock_Data::read_record FILE *  input  )  throw (FS::EndOfFile, FileFormatError) [inline]
 

Definition at line 131 of file read_lock_timing.C.

References acquired, Delta_Time::read(), read_reason(), read_start_time(), time_held, time_to_acquire, time_to_release, and write.

Referenced by main().

void Lock_Data::read_start_time FILE *  input  )  throw (FS::EndOfFile) [inline]
 

Definition at line 83 of file read_lock_timing.C.

Referenced by read_record().


Member Data Documentation

bool Lock_Data::acquired
 

Definition at line 72 of file read_lock_timing.C.

Referenced by main(), plot_lock_info(), print_lock_info(), and read_record().

which_lock_t Lock_Data::lock
 

Definition at line 69 of file read_lock_timing.C.

Referenced by print_lock_info().

Atom* Lock_Data::reason
 

Definition at line 76 of file read_lock_timing.C.

Referenced by main(), print_lock_info(), and read_reason().

struct timeval Lock_Data::start_time
 

Definition at line 70 of file read_lock_timing.C.

Referenced by main(), and operator<=().

Delta_Time Lock_Data::time_held
 

Definition at line 74 of file read_lock_timing.C.

Referenced by main(), plot_lock_info(), print_lock_info(), and read_record().

Delta_Time Lock_Data::time_to_acquire
 

Definition at line 71 of file read_lock_timing.C.

Referenced by main(), operator<=(), plot_lock_info(), print_lock_info(), and read_record().

Delta_Time Lock_Data::time_to_release
 

Definition at line 75 of file read_lock_timing.C.

Referenced by main(), plot_lock_info(), print_lock_info(), and read_record().

bool Lock_Data::write
 

Definition at line 73 of file read_lock_timing.C.

Referenced by main(), print_lock_info(), and read_record().


The documentation for this struct was generated from the following file:
Generated on Mon May 8 00:49:11 2006 for Vesta by  doxygen 1.4.2