BIE::TSLog Class Reference

Wall clock timing for use in LikelihoodComputationMPITP. More...

#include <TSLog.h>

List of all members.
static const int circBufNumEntries = 30
 Use a ring buffer for quick and dirty timestamp logging.
char circBuf [circBufNumEntries][100]
 The ring buffer.
volatile int circBufPos
 The current position in the ring buffer.
double startTime
 The time zoer point.
bool disabled
 Set to true to disable timing.
 TSLog ()
 Create a time logger (disabled to start).
 TSLog (bool OnorOff)
 Create a time logger (enabled or disabled baed on OnorOff value).
void LogIt (const char *buf)
 Enter a string into the log with the tagged by the current offset.
void LogInt (const char *buf, int i)
 Enter a string and integer into the log with the tagged by the current offset.
void LogDouble (const char *buf, double d)
 Enter a string and double into the log with the tagged by the current offset.
void PrintIt ()
 Print the log to stdout.


Detailed Description

Wall clock timing for use in LikelihoodComputationMPITP.

Member Data Documentation

const int BIE::TSLog::circBufNumEntries = 30 [static]

Use a ring buffer for quick and dirty timestamp logging.

Number of entries in the ring buffer


The documentation for this class was generated from the following file:
  • /home/weinberg/src/BIE/include/TSLog.h

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by doxygen