luna engine
software engine
Loading...
Searching...
No Matches
instrumentor.h File Reference
#include <core/debug/log.h>
#include <algorithm>
#include <chrono>
#include <fstream>
#include <iomanip>
#include <string>
#include <thread>
#include <mutex>
#include <sstream>
#include <filesystem>
Include dependency graph for instrumentor.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  luna::profileResult
 
struct  luna::instrumentationSession
 
class  luna::instrumentor
 
class  luna::instrumentationTimer
 
struct  luna::instrumentorUtils::ChangeResult< N >
 

Namespaces

namespace  luna
 
namespace  luna::instrumentorUtils
 

Macros

#define LN_PROFILE   0
 
#define LN_PROFILE_BEGIN_SESSION(name, filepath)
 
#define LN_PROFILE_END_SESSION()
 
#define LN_PROFILE_SCOPE(name)
 
#define LN_PROFILE_FUNCTION()
 

Typedefs

using luna::floatingPointMicroseconds = std::chrono::duration< double, std::micro >
 

Functions

template<size_t N, size_t K>
constexpr auto luna::instrumentorUtils::CleanupOutputString (const char(&expr)[N], const char(&remove)[K])
 

Macro Definition Documentation

◆ LN_PROFILE

#define LN_PROFILE   0

◆ LN_PROFILE_BEGIN_SESSION

#define LN_PROFILE_BEGIN_SESSION (   name,
  filepath 
)

◆ LN_PROFILE_END_SESSION

#define LN_PROFILE_END_SESSION ( )

◆ LN_PROFILE_FUNCTION

#define LN_PROFILE_FUNCTION ( )

◆ LN_PROFILE_SCOPE

#define LN_PROFILE_SCOPE (   name)