summaryrefslogtreecommitdiffstats
path: root/core/config/engine.h
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@meta.com>2023-01-13 11:24:12 -0800
committerFredia Huya-Kouadio <fhuya@meta.com>2023-05-23 13:22:35 -0700
commit831b4a5366caf8a0202b2ac2fad641505282915c (patch)
tree57915abf2f84165212cc5662ccdc1266b9c7221e /core/config/engine.h
parentf581f21dd61a8fb581b80d07755cdf60c95d146d (diff)
downloadredot-engine-831b4a5366caf8a0202b2ac2fad641505282915c.tar.gz
Improve startup benchmarking
Move the benchmarking measuring methods from `Engine` to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
Diffstat (limited to 'core/config/engine.h')
-rw-r--r--core/config/engine.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/config/engine.h b/core/config/engine.h
index 52408f4be1..5ea653ba6c 100644
--- a/core/config/engine.h
+++ b/core/config/engine.h
@@ -83,11 +83,6 @@ private:
String write_movie_path;
String shader_cache_path;
- Dictionary startup_benchmark_json;
- String startup_benchmark_section;
- uint64_t startup_benchmark_from = 0;
- uint64_t startup_benchmark_total_from = 0;
-
public:
static Engine *get_singleton();
@@ -163,11 +158,6 @@ public:
bool is_validation_layers_enabled() const;
int32_t get_gpu_index() const;
- void startup_begin();
- void startup_benchmark_begin_measure(const String &p_what);
- void startup_benchmark_end_measure();
- void startup_dump(const String &p_to_file);
-
Engine();
virtual ~Engine() {}
};