Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
FrameMarker Class Reference

#include <tracy_wrapper.h>

Public Member Functions

 FrameMarker (const char *name)
 
 ~FrameMarker ()
 
 FrameMarker (FrameMarker &&other) noexcept
 
FrameMarkeroperator= (FrameMarker &&other) noexcept
 
FrameMarker && started () &&
 
void start ()
 
void end ()
 

Private Attributes

const char * m_name
 
bool m_started = false
 

Constructor & Destructor Documentation

◆ FrameMarker() [1/2]

FrameMarker::FrameMarker ( const char * name)
inline

◆ ~FrameMarker()

FrameMarker::~FrameMarker ( )
inline

References end().

+ Here is the call graph for this function:

◆ FrameMarker() [2/2]

FrameMarker::FrameMarker ( FrameMarker && other)
inlinenoexcept

References m_started.

Member Function Documentation

◆ end()

void FrameMarker::end ( )
inline

References FrameMarkEnd, m_name, and m_started.

Referenced by ~FrameMarker(), Game::connectToServer(), Game::getServerContent(), operator=(), Game::run(), and GUIEngine::run().

+ Here is the caller graph for this function:

◆ operator=()

FrameMarker & FrameMarker::operator= ( FrameMarker && other)
inlinenoexcept

References end(), m_name, and m_started.

+ Here is the call graph for this function:

◆ start()

void FrameMarker::start ( )
inline

◆ started()

FrameMarker && FrameMarker::started ( ) &&
inline

References FrameMarkStart, m_name, and m_started.

Referenced by Server::AsyncRunStep(), Game::connectToServer(), Game::getServerContent(), ClientLauncher::main_menu(), Server::Receive(), Game::run(), GUIEngine::run(), ServerThread::run(), and sound::OpenALSoundManager::run().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_name

const char* FrameMarker::m_name
private

Referenced by end(), operator=(), and started().

◆ m_started

bool FrameMarker::m_started = false
private

Referenced by FrameMarker(), end(), operator=(), and started().


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