RWLockGraphData Struct Reference

#include <rwlock_tester.h>

List of all members.

Public Member Functions

void clear ()
void resize (size_t new_sz, MILLISECONDS initval=0)

Public Attributes

std::string name
std::vector< MILLISECONDSread
std::vector< MILLISECONDSwrite
std::vector< MILLISECONDStotal


Detailed Description

Definition at line 234 of file rwlock_tester.h.


Member Function Documentation

void RWLockGraphData::clear (  )  [inline]

Definition at line 240 of file rwlock_tester.h.

References name, read, total, and write.

00240 { name = ""; read.clear(); write.clear(); total.clear();}

void RWLockGraphData::resize ( size_t  new_sz,
MILLISECONDS  initval = 0 
) [inline]

Definition at line 241 of file rwlock_tester.h.

References read, total, and write.

00242         {
00243                 read.resize(new_sz, initval);
00244                 write.resize(new_sz, initval);
00245                 total.resize(new_sz, initval);
00246         }


Member Data Documentation

std::string RWLockGraphData::name

Definition at line 236 of file rwlock_tester.h.

Referenced by clear().

Definition at line 237 of file rwlock_tester.h.

Referenced by clear(), GraphData::get_read(), GraphData::get_sum(), and resize().

Definition at line 238 of file rwlock_tester.h.

Referenced by clear(), GraphData::get_sum(), GraphData::get_write(), and resize().

Definition at line 239 of file rwlock_tester.h.

Referenced by clear(), GraphData::get_total(), and resize().


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

Generated on Wed Mar 19 14:59:59 2008 for rwlock by  doxygen 1.5.5