KiCad PCB EDA Suite
Loading...
Searching...
No Matches
APP_MONITOR::TRANSACTION Class Reference

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TRANSACTION()

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::~TRANSACTION ( )

Definition at line 431 of file app_monitor.cpp.

Member Function Documentation

◆ Finish()

void TRANSACTION::Finish ( )

Definition at line 461 of file app_monitor.cpp.

◆ FinishSpan()

void TRANSACTION::FinishSpan ( )

Definition at line 472 of file app_monitor.cpp.

◆ Start()

void TRANSACTION::Start ( )

Definition at line 439 of file app_monitor.cpp.

Referenced by CONNECTION_GRAPH::Recalculate().

◆ StartSpan()

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().


The documentation for this class was generated from the following files: