FastMM documentation
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::LogRunScope Class Reference

While one is alive, the lines the thread logs name run index of a sweep ("\#index", the points' order): a sweep's runs share the threads and the log. More...

#include <fastmm/core/log.hpp>

Public Member Functions

 LogRunScope () noexcept
 Keeps the thread's run, and restores it at the end (log_switch_run() changes it).
 
 LogRunScope (std::size_t index) noexcept
 
 ~LogRunScope ()
 
 LogRunScope (const LogRunScope &)=delete
 
LogRunScope & operator= (const LogRunScope &)=delete
 

Detailed Description

While one is alive, the lines the thread logs name run index of a sweep ("\#index", the points' order): a sweep's runs share the threads and the log.

Constructor & Destructor Documentation

◆ LogRunScope() [1/3]

fastmm::LogRunScope::LogRunScope ( )
inlinenoexcept

Keeps the thread's run, and restores it at the end (log_switch_run() changes it).

◆ LogRunScope() [2/3]

fastmm::LogRunScope::LogRunScope ( std::size_t  index)
inlineexplicitnoexcept

◆ ~LogRunScope()

fastmm::LogRunScope::~LogRunScope ( )
inline

◆ LogRunScope() [3/3]

fastmm::LogRunScope::LogRunScope ( const LogRunScope &  )
delete

Member Function Documentation

◆ operator=()

LogRunScope & fastmm::LogRunScope::operator= ( const LogRunScope &  )
delete