Java Class Encryption and License Management
Create evaluation versions, host- and user based licenses using
the same installation package. FREE evaluation version available.
www.jsecurity.net

TraceTime Class Reference

#include <timer.hpp>

Inheritance diagram for TraceTime:

Compile.TracePhase PhaseTraceTime

Public Member Functions

 TraceTime (const char *title, bool doit=true, bool print_cr=true, outputStream *logfile=NULL)
 TraceTime (const char *title, elapsedTimer *accumulator, bool doit=true, bool verbose=false, outputStream *logfile=NULL)
 ~TraceTime ()
void set_verbose (bool verbose)
bool verbose () const
void suspend ()
void resume ()

Private Attributes

bool _active
bool _verbose
bool _print_cr
elapsedTimer _t
elapsedTimer * _accum
outputStream_logfile

Detailed Description

Definition at line 79 of file timer.hpp.


Constructor & Destructor Documentation

TraceTime::TraceTime ( const char *  title,
bool  doit = true,
bool  print_cr = true,
outputStream logfile = NULL 
)

TraceTime::TraceTime ( const char *  title,
elapsedTimer *  accumulator,
bool  doit = true,
bool  verbose = false,
outputStream logfile = NULL 
)

TraceTime::~TraceTime (  ) 


Member Function Documentation

void TraceTime.resume (  ) 

Definition at line 106 of file timer.hpp.

References _active, and _t.

void TraceTime.set_verbose ( bool  verbose  ) 

Definition at line 101 of file timer.hpp.

References _verbose.

void TraceTime.suspend (  ) 

Definition at line 105 of file timer.hpp.

References _active, and _t.

bool TraceTime.verbose (  )  const

Definition at line 102 of file timer.hpp.

References _verbose.


Field Documentation

elapsedTimer* TraceTime._accum [private]

Definition at line 85 of file timer.hpp.

Referenced by TraceTime(), and ~TraceTime().

bool TraceTime._active [private]

Definition at line 81 of file timer.hpp.

Referenced by resume(), suspend(), TraceTime(), and ~TraceTime().

Definition at line 86 of file timer.hpp.

Referenced by TraceTime(), and ~TraceTime().

bool TraceTime._print_cr [private]

Definition at line 83 of file timer.hpp.

Referenced by TraceTime(), and ~TraceTime().

elapsedTimer TraceTime._t [private]

Definition at line 84 of file timer.hpp.

Referenced by resume(), suspend(), TraceTime(), and ~TraceTime().

bool TraceTime._verbose [private]

Definition at line 82 of file timer.hpp.

Referenced by set_verbose(), TraceTime(), verbose(), and ~TraceTime().


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

Powered by jsecurity.net
Generated by doxygen 1.5.7.1