#include <Profiler.h>
Classes | |
struct | Measurement |
Public Types | |
enum | MES { SINGLEMARKER_OVERALL, LABELING, DETECTMARKER2, GETMARKERINFO, GETTRANSMAT, GETINITROT, GETTRANSMAT3, GETTRANSMATSUB, MODIFYMATRIX_LOOP, MODIFYMATRIX, GETNEWMATRIX, GETROT, GETANGLE } |
Public Member Functions | |
void | beginSection (Measurement &nM) |
void | endSection (Measurement &nM) |
float | getFraction (const Measurement &nNom, const Measurement &nDenom) const |
float | getFraction (MES nNom, MES nDenom) const |
float | getTime (MES nMes) const |
void | reset () |
void | writeReport (const char *nFileName, unsigned int nNumRuns=1) const |
Static Public Member Functions | |
static bool | isProfilingEnabled () |
Protected Member Functions | |
const Measurement * | getMes (MES nMes) const |
Definition at line 58 of file Profiler.h.
Enumerator | |
---|---|
SINGLEMARKER_OVERALL | |
LABELING | |
DETECTMARKER2 | |
GETMARKERINFO | |
GETTRANSMAT | |
GETINITROT | |
GETTRANSMAT3 | |
GETTRANSMATSUB | |
MODIFYMATRIX_LOOP | |
MODIFYMATRIX | |
GETNEWMATRIX | |
GETROT | |
GETANGLE |
Definition at line 61 of file Profiler.h.
void ARToolKitPlus::Profiler::beginSection | ( | Measurement & | nM | ) |
Definition at line 158 of file Profiler.cpp.
void ARToolKitPlus::Profiler::endSection | ( | Measurement & | nM | ) |
Definition at line 164 of file Profiler.cpp.
float ARToolKitPlus::Profiler::getFraction | ( | const Measurement & | nNom, |
const Measurement & | nDenom | ||
) | const |
Definition at line 170 of file Profiler.cpp.
|
protected |
Definition at line 42 of file Profiler.cpp.
float ARToolKitPlus::Profiler::getTime | ( | MES | nMes | ) | const |
Definition at line 177 of file Profiler.cpp.
|
static |
Definition at line 230 of file Profiler.cpp.
void ARToolKitPlus::Profiler::reset | ( | ) |
Definition at line 23 of file Profiler.cpp.
void ARToolKitPlus::Profiler::writeReport | ( | const char * | nFileName, |
unsigned int | nNumRuns = 1 |
||
) | const |
Definition at line 188 of file Profiler.cpp.
Measurement ARToolKitPlus::Profiler::_DETECTMARKER2 |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_GETANGLE |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_GETINITROT |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_GETMARKERINFO |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_GETNEWMATRIX |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_GETROT |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_GETTRANSMAT |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_GETTRANSMAT3 |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_GETTRANSMATSUB |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_LABELING |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_MODIFYMATRIX |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_MODIFYMATRIX_LOOP |
Definition at line 86 of file Profiler.h.
Measurement ARToolKitPlus::Profiler::_SINGLEMARKER_OVERALL |
Definition at line 86 of file Profiler.h.