EyeAI
Loading...
Searching...
No Matches
ProfileScope Struct Reference

A RAII object to start and stop a profile scope of a ProfilingFrame. More...

#include <Profiling.hpp>

Public Member Functions

 ProfileScope (std::string_view name, ProfilingFrame &frame)
 
 ~ProfileScope () noexcept
 
 ProfileScope (const ProfileScope &)=delete
 
 ProfileScope (ProfileScope &&)=delete
 
void operator= (const ProfileScope &)=delete
 
void operator= (ProfileScope &&)=delete
 

Detailed Description

A RAII object to start and stop a profile scope of a ProfilingFrame.

Constructor & Destructor Documentation

◆ ProfileScope() [1/3]

ProfileScope::ProfileScope ( std::string_view name,
ProfilingFrame & frame )
explicit

◆ ~ProfileScope()

ProfileScope::~ProfileScope ( )
noexcept

◆ ProfileScope() [2/3]

ProfileScope::ProfileScope ( const ProfileScope & )
delete

◆ ProfileScope() [3/3]

ProfileScope::ProfileScope ( ProfileScope && )
delete

Member Function Documentation

◆ operator=() [1/2]

void ProfileScope::operator= ( const ProfileScope & )
delete

◆ operator=() [2/2]

void ProfileScope::operator= ( ProfileScope && )
delete