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 426 of file app_monitor.cpp.

References APP_MONITOR::SENTRY::Instance().

◆ ~TRANSACTION()

TRANSACTION::~TRANSACTION ( )

Definition at line 437 of file app_monitor.cpp.

Member Function Documentation

◆ Finish()

void TRANSACTION::Finish ( )

Definition at line 467 of file app_monitor.cpp.

Referenced by CONNECTION_GRAPH::Recalculate().

◆ FinishSpan()

void TRANSACTION::FinishSpan ( )

Definition at line 478 of file app_monitor.cpp.

Referenced by CONNECTION_GRAPH::Recalculate().

◆ Start()

void TRANSACTION::Start ( )

Definition at line 445 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 456 of file app_monitor.cpp.

Referenced by CONNECTION_GRAPH::Recalculate().


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