#include <ScopedFingerprint.h>
Used in the simulator to tell what event fired for time-based estimation. May have other uses, such as getting a stack trace.
Definition at line 28 of file ScopedFingerprint.h.
Public Member Functions | |
ScopedFingerprint (const std::string &selectorId) | |
Place a scoped fingerprint object after the lock or ScopedLock object, and before each ScopedStackExecution object. | |
Static Public Member Functions | |
static string | getFingerprint () |
returns the current fingerprint |
mace::ScopedFingerprint::ScopedFingerprint | ( | const std::string & | selectorId | ) | [inline] |
Place a scoped fingerprint object after the lock or ScopedLock object, and before each ScopedStackExecution object.
Must be placed before every ScopedStackExecution object or it might miss events or being cleared.
Definition at line 37 of file ScopedFingerprint.h.
References mace::ScopedStackExecution::getStackDepth().
static string mace::ScopedFingerprint::getFingerprint | ( | ) | [inline, static] |
returns the current fingerprint
Definition at line 51 of file ScopedFingerprint.h.