Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
FrameProfiler.hpp File Reference

Per-frame CPU scope timing (ES_PROFILE_SCOPE) read by the editor profiler. More...

#include <atomic>
#include <mutex>
#include <vector>
#include <string>
#include <cstring>
#include <cstdio>
#include <chrono>
Include dependency graph for FrameProfiler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esengine::FrameProfiler
class  esengine::ScopeTimer

Namespaces

namespace  esengine

Macros

#define ES_PROFILE_CONCAT_(a, b)
#define ES_PROFILE_CONCAT(a, b)
#define ES_PROFILE_SCOPE(name)
#define ES_PROFILE_COUNTER(name, value)

Functions

double esengine::es_profile_now_ms ()

Detailed Description

Per-frame CPU scope timing (ES_PROFILE_SCOPE) read by the editor profiler.

Definition in file FrameProfiler.hpp.

Macro Definition Documentation

◆ ES_PROFILE_CONCAT

#define ES_PROFILE_CONCAT ( a,
b )
Value:
#define ES_PROFILE_CONCAT_(a, b)

Definition at line 142 of file FrameProfiler.hpp.

◆ ES_PROFILE_CONCAT_

#define ES_PROFILE_CONCAT_ ( a,
b )
Value:
a##b

Definition at line 141 of file FrameProfiler.hpp.

◆ ES_PROFILE_COUNTER

#define ES_PROFILE_COUNTER ( name,
value )

◆ ES_PROFILE_SCOPE