#include <GTXabsl2Profiler.h>
Collaboration diagram for GTXabsl2Profiler:
Public Types | |
enum | { dontCollectProfiles, collectProfiles } |
The Xabsl-Output-Symbols for the Profiler. More... | |
enum | { dontWriteProfiles, writeProfiles, writeCompleteProfiles } |
Public Member Functions | |
void | registerSymbols (Xabsl2Engine &) |
GTXabsl2Profiler () | |
GTXabsl2Profiler (SolutionRequest::xabsl2EngineID id, const unsigned long *frameNumber) | |
Constructor. | |
void | init (Xabsl2Engine &pEngine, int length=1) |
void | doProfiling (Xabsl2Engine &pEngine) |
void | recordCollectedLogs () |
void | recordCompleteLog () |
void | writeXMLtoStream (Out &out) |
void | exportXMLFile (const char *outf) |
bool | importLogFile (const char *filename) |
std::vector< GTXabsl2ActiveOption > | getActiveOptionsAtFrame (int time) |
std::string | getOptionName (int optionNumber) |
std::string | getStateName (int optionNumber, int stateNumber) |
int | getDepth (char *optionName) |
int | getDepth (int optionNumber) |
int | getMaxDepth () |
int | getBeginningFramenumber () |
int | getLastFramenumber () |
int | getNumberofLogEntries () |
std::vector< GTXabsl2ActiveOption > | getActiveOptionsAtNumber (int frameNumber) |
GTXabsl2LogEntry | getLogEntryAtIndex (int index) |
int | getFollowingFramenumber (int frame) |
int | getIndex (int frameNumber) |
GTXabsl2LogEntry & | operator[] (int i) |
int | size () |
GTXabsl2ProfilerNameTableEntry & | getNameTableEntry (int index) |
bool | getActiveOption (int index, int maxdepth, GTXabsl2ActiveOption &retour) |
Public Attributes | |
enum GTXabsl2Profiler:: { ... } | profilerCollectMode |
The Xabsl-Output-Symbols for the Profiler. | |
enum GTXabsl2Profiler:: { ... } | profilerWriteMode |
Private Member Functions | |
void | registerOptions (const Xabsl2Option *option, int depth) |
void | doDepthCount (const Xabsl2Option *option, int depth) |
void | writeLogToStream (Out &) |
void | writeCompleteLogToStream (Out &) |
void | writeNameTableToStream (Out &) |
Private Attributes | |
GTXabsl2ProfilerNameTable | nameTable |
NameTable for keeping corresponding names to numerical logs. | |
std::deque< GTXabsl2LogEntry > | log |
Numerical Log where indices are usually corresponding to indices in the NameTable. | |
std::string | outFileName |
Name of the file the Log is written to. | |
int | maxDepth |
Maximal depth of the XABSL-Option-Tree. | |
const unsigned long * | frameNumber |
A reference to a variable containing the current frame number. |
Definition at line 327 of file GTXabsl2Profiler.h.
|
The Xabsl-Output-Symbols for the Profiler.
Definition at line 376 of file GTXabsl2Profiler.h. |
|
Definition at line 377 of file GTXabsl2Profiler.h. |
|
Definition at line 10 of file GTXabsl2Profiler.cpp. |
|
Constructor.
Definition at line 3 of file GTXabsl2Profiler.cpp. References outFileName. |
|
Here is the call graph for this function:
|
Definition at line 60 of file GTXabsl2Profiler.cpp. References GTXabsl2ProfilerNameTable::getOptionPosition(), Xabsl2Array< Xabsl2State * >::getSize(), maxDepth, Xabsl2NamedItem::n, nameTable, and Xabsl2Option::states. Referenced by init(). |
Here is the call graph for this function:
|
Definition at line 116 of file GTXabsl2Profiler.cpp. References log, and NROFELEMW. Referenced by recordCollectedLogs(). |
|
Definition at line 138 of file GTXabsl2Profiler.cpp. References log. Referenced by recordCompleteLog(). |
|
Definition at line 154 of file GTXabsl2Profiler.cpp. References GTXabsl2ProfilerNameTable::getSize(), and nameTable. Referenced by init(). |
Here is the call graph for this function:
|
Definition at line 23 of file GTXabsl2Profiler.cpp. References collectProfiles, dontCollectProfiles, dontWriteProfiles, profilerCollectMode, profilerWriteMode, Xabsl2Symbols::registerEnumeratedOutputSymbol(), Xabsl2Symbols::registerEnumeratedOutputSymbolEnumElement(), writeCompleteProfiles, and writeProfiles. Referenced by GTXabsl2EngineExecutor::init(). |
Here is the call graph for this function:
|
Definition at line 14 of file GTXabsl2Profiler.cpp. References doDepthCount(), Xabsl2Engine::getRootOption(), GTXabsl2ProfilerNameTable::init(), log, nameTable, outFileName, registerOptions(), and writeNameTableToStream(). Referenced by GTXabsl2EngineExecutor::init(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 101 of file GTXabsl2Profiler.cpp. References outFileName, and writeLogToStream(). Referenced by GTXabsl2EngineExecutor::executeEngine(). |
Here is the call graph for this function:
|
Definition at line 108 of file GTXabsl2Profiler.cpp. References outFileName, and writeCompleteLogToStream(). Referenced by GTXabsl2EngineExecutor::executeEngine(). |
Here is the call graph for this function:
|
Definition at line 183 of file GTXabsl2Profiler.cpp. References log, and nameTable. Referenced by exportXMLFile(). |
|
Definition at line 176 of file GTXabsl2Profiler.cpp. References writeXMLtoStream(). |
Here is the call graph for this function:
|
Definition at line 206 of file GTXabsl2Profiler.cpp. References GTXabsl2ProfilerNameTable::append(), GTXabsl2ProfilerNameTable::clear(), InStream< InFile, InText >::eof(), InFile::exists(), InFile::getEof(), log, maxDepth, and nameTable. |
Here is the call graph for this function:
|
Definition at line 285 of file GTXabsl2Profiler.cpp. References log. |
|
Definition at line 297 of file GTXabsl2Profiler.cpp. References GTXabsl2ProfilerNameTable::getSize(), and nameTable. |
Here is the call graph for this function:
|
Definition at line 306 of file GTXabsl2Profiler.cpp. References GTXabsl2ProfilerNameTable::getSize(), and nameTable. |
Here is the call graph for this function:
|
Definition at line 315 of file GTXabsl2Profiler.cpp. References GTXabsl2ProfilerNameTable::existsOption(), GTXabsl2ProfilerNameTable::getOptionPosition(), and nameTable. |
Here is the call graph for this function:
|
Definition at line 321 of file GTXabsl2Profiler.cpp. References GTXabsl2ProfilerNameTable::getSize(), and nameTable. |
Here is the call graph for this function:
|
Definition at line 462 of file GTXabsl2Profiler.h. References maxDepth. |
|
Definition at line 467 of file GTXabsl2Profiler.h. References log. |
|
Definition at line 473 of file GTXabsl2Profiler.h. References log. |
|
|
|
|
|
|
|
Definition at line 325 of file GTXabsl2Profiler.cpp. References log. |
|
Definition at line 337 of file GTXabsl2Profiler.cpp. References log. |
|
Definition at line 347 of file GTXabsl2Profiler.cpp. References log. |
|
Definition at line 350 of file GTXabsl2Profiler.cpp. References log. Referenced by GTXabsl2EngineExecutor::executeEngine(). |
|
Definition at line 353 of file GTXabsl2Profiler.cpp. References nameTable. |
|
Definition at line 356 of file GTXabsl2Profiler.cpp. |
|
NameTable for keeping corresponding names to numerical logs.
Definition at line 332 of file GTXabsl2Profiler.h. Referenced by doDepthCount(), doProfiling(), getActiveOption(), getDepth(), getNameTableEntry(), getOptionName(), getStateName(), importLogFile(), init(), registerOptions(), writeNameTableToStream(), and writeXMLtoStream(). |
|
Numerical Log where indices are usually corresponding to indices in the NameTable.
Definition at line 335 of file GTXabsl2Profiler.h. Referenced by doProfiling(), getActiveOption(), getActiveOptionsAtFrame(), getBeginningFramenumber(), getFollowingFramenumber(), getIndex(), getLastFramenumber(), importLogFile(), init(), operator[](), size(), writeCompleteLogToStream(), writeLogToStream(), and writeXMLtoStream(). |
|
Name of the file the Log is written to.
Definition at line 338 of file GTXabsl2Profiler.h. Referenced by GTXabsl2Profiler(), init(), recordCollectedLogs(), and recordCompleteLog(). |
|
Maximal depth of the XABSL-Option-Tree.
Definition at line 341 of file GTXabsl2Profiler.h. Referenced by doDepthCount(), getMaxDepth(), and importLogFile(). |
|
A reference to a variable containing the current frame number.
Definition at line 372 of file GTXabsl2Profiler.h. |
|
The Xabsl-Output-Symbols for the Profiler.
Referenced by GT2004HeadControl::execute(), GTXabsl2EngineExecutor::executeEngine(), GT2004BehaviorControl::postExecute(), and registerSymbols(). |
|
Referenced by GT2004HeadControl::execute(), GTXabsl2EngineExecutor::executeEngine(), GT2004BehaviorControl::postExecute(), and registerSymbols(). |