|
MOOS 0.2375
|
#include <MOOSThreadedTimeJournal.h>

Classes | |
| struct | THREADINFO |
Public Types | |
| typedef long | H_THREADLOG |
Public Member Functions | |
| CMOOSThreadedTimeJournal () | |
| ~CMOOSThreadedTimeJournal () | |
| void | Open (const std::string &sFile) |
| void | SetStartTime (double startTime) |
| H_THREADLOG | GetNextHandle (std::string sName) |
| bool | Tick (const H_THREADLOG handle, const std::string &sTimerName) |
| bool | Tock (const H_THREADLOG handle, const std::string &sTimerName) |
| void | Log (const H_THREADLOG handle, const std::string &str) |
| void | NewLevel (const H_THREADLOG handle, int nL=-1) |
| void | Dump () |
Protected Types | |
| typedef std::map< std::string, double > | TIMERMAP |
| typedef std::map< H_THREADLOG, THREADINFO > | THREADMAP |
Protected Attributes | |
| THREADMAP | m_threadInfoMap |
| CMOOSLock | m_lock |
| double | m_dfStartTime |
| std::list< std::string > | m_logList |
| std::ofstream | m_file |
| long | m_nextHandle |
Definition at line 53 of file MOOSThreadedTimeJournal.h.
| typedef long CMOOSThreadedTimeJournal::H_THREADLOG |
Definition at line 57 of file MOOSThreadedTimeJournal.h.
typedef std::map<H_THREADLOG, THREADINFO> CMOOSThreadedTimeJournal::THREADMAP [protected] |
Definition at line 199 of file MOOSThreadedTimeJournal.h.
typedef std::map<std::string, double> CMOOSThreadedTimeJournal::TIMERMAP [protected] |
Definition at line 190 of file MOOSThreadedTimeJournal.h.
| CMOOSThreadedTimeJournal::CMOOSThreadedTimeJournal | ( | ) | [inline] |
Definition at line 60 of file MOOSThreadedTimeJournal.h.
| CMOOSThreadedTimeJournal::~CMOOSThreadedTimeJournal | ( | ) | [inline] |
Definition at line 66 of file MOOSThreadedTimeJournal.h.
| void CMOOSThreadedTimeJournal::Dump | ( | ) | [inline] |
Definition at line 176 of file MOOSThreadedTimeJournal.h.
| H_THREADLOG CMOOSThreadedTimeJournal::GetNextHandle | ( | std::string | sName | ) | [inline] |
Definition at line 82 of file MOOSThreadedTimeJournal.h.
| void CMOOSThreadedTimeJournal::Log | ( | const H_THREADLOG | handle, |
| const std::string & | str | ||
| ) | [inline] |
Definition at line 142 of file MOOSThreadedTimeJournal.h.
| void CMOOSThreadedTimeJournal::NewLevel | ( | const H_THREADLOG | handle, |
| int | nL = -1 |
||
| ) | [inline] |
Definition at line 157 of file MOOSThreadedTimeJournal.h.
| void CMOOSThreadedTimeJournal::Open | ( | const std::string & | sFile | ) | [inline] |
Definition at line 72 of file MOOSThreadedTimeJournal.h.
| void CMOOSThreadedTimeJournal::SetStartTime | ( | double | startTime | ) | [inline] |
Definition at line 77 of file MOOSThreadedTimeJournal.h.
| bool CMOOSThreadedTimeJournal::Tick | ( | const H_THREADLOG | handle, |
| const std::string & | sTimerName | ||
| ) | [inline] |
Definition at line 94 of file MOOSThreadedTimeJournal.h.
| bool CMOOSThreadedTimeJournal::Tock | ( | const H_THREADLOG | handle, |
| const std::string & | sTimerName | ||
| ) | [inline] |
Definition at line 112 of file MOOSThreadedTimeJournal.h.
double CMOOSThreadedTimeJournal::m_dfStartTime [protected] |
Definition at line 206 of file MOOSThreadedTimeJournal.h.
std::ofstream CMOOSThreadedTimeJournal::m_file [protected] |
Definition at line 212 of file MOOSThreadedTimeJournal.h.
CMOOSLock CMOOSThreadedTimeJournal::m_lock [protected] |
Definition at line 204 of file MOOSThreadedTimeJournal.h.
std::list<std::string> CMOOSThreadedTimeJournal::m_logList [protected] |
Definition at line 209 of file MOOSThreadedTimeJournal.h.
long CMOOSThreadedTimeJournal::m_nextHandle [protected] |
Definition at line 214 of file MOOSThreadedTimeJournal.h.
THREADMAP CMOOSThreadedTimeJournal::m_threadInfoMap [protected] |
Definition at line 202 of file MOOSThreadedTimeJournal.h.
1.7.4