Lightweight 0.20250904.0
Loading...
Searching...
No Matches
Lightweight::SqlScopedTimeLogger Class Reference

#include <SqlLogger.hpp>

Public Member Functions

 SqlScopedTimeLogger (SqlScopedTimeLogger const &)=default
 
 SqlScopedTimeLogger (SqlScopedTimeLogger &&)=delete
 
SqlScopedTimeLoggeroperator= (SqlScopedTimeLogger const &)=default
 
SqlScopedTimeLoggeroperator= (SqlScopedTimeLogger &&)=delete
 
 SqlScopedTimeLogger (std::string tag)
 

Detailed Description

A scoped timer for logging.

This class is used to measure the time spent in a code region and log it. This is typically useful for performance analysis, to identify bottlenecks.

See also
SqlLogger

Definition at line 167 of file SqlLogger.hpp.

Constructor & Destructor Documentation

◆ SqlScopedTimeLogger()

Lightweight::SqlScopedTimeLogger::SqlScopedTimeLogger ( std::string  tag)
inlineexplicit

Definition at line 174 of file SqlLogger.hpp.

◆ ~SqlScopedTimeLogger()

Lightweight::SqlScopedTimeLogger::~SqlScopedTimeLogger ( )
inline

Definition at line 180 of file SqlLogger.hpp.


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