KiCad PCB EDA Suite
|
This represents a sentry transaction which is used for time-performance metrics You start a transaction and can denote "spans" inside the transaction for specific portions of the transaction. More...
#include <app_monitor.h>
Public Member Functions | |
TRANSACTION (const std::string &aName, const std::string &aOperation) | |
~TRANSACTION () | |
void | Start () |
void | StartSpan (const std::string &aOperation, const std::string &aDescription) |
void | FinishSpan () |
void | Finish () |
This represents a sentry transaction which is used for time-performance metrics You start a transaction and can denote "spans" inside the transaction for specific portions of the transaction.
Definition at line 63 of file app_monitor.h.
TRANSACTION::TRANSACTION | ( | const std::string & | aName, |
const std::string & | aOperation | ||
) |
Definition at line 420 of file app_monitor.cpp.
References APP_MONITOR::SENTRY::Instance().
TRANSACTION::~TRANSACTION | ( | ) |
Definition at line 431 of file app_monitor.cpp.
void TRANSACTION::Finish | ( | ) |
Definition at line 461 of file app_monitor.cpp.
void TRANSACTION::FinishSpan | ( | ) |
Definition at line 472 of file app_monitor.cpp.
void TRANSACTION::Start | ( | ) |
Definition at line 439 of file app_monitor.cpp.
Referenced by CONNECTION_GRAPH::Recalculate().
void TRANSACTION::StartSpan | ( | const std::string & | aOperation, |
const std::string & | aDescription | ||
) |
Definition at line 450 of file app_monitor.cpp.
Referenced by CONNECTION_GRAPH::Recalculate().