From 8ee2407d5d2114ea5655505120103c2e1ed27555 Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 7 Jul 2025 15:15:26 +0330 Subject: [PATCH] refactor: change profile log directory --- modules/engine/src/core/application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/engine/src/core/application.cpp b/modules/engine/src/core/application.cpp index 10237af..1ec15e0 100644 --- a/modules/engine/src/core/application.cpp +++ b/modules/engine/src/core/application.cpp @@ -23,7 +23,7 @@ Application::Application(): m_window(nullptr) log_debug_data(); - Light::Instrumentor::begin_session("Logs/ProfileResults_Startup.json"); + Light::Instrumentor::begin_session("data/logs/profile_startup.json"); m_window = Window::create([this](auto &&PH1) { on_event(std::forward(PH1)); }); } @@ -47,7 +47,7 @@ void Application::game_loop() m_window->set_visibility(true); Instrumentor::end_session(); - Instrumentor::begin_session("Logs/ProfileResults_GameLoop.json"); + Instrumentor::begin_session("data/logs/profile_game_loop.json"); /* game loop */ auto timer = Timer {}; @@ -100,7 +100,7 @@ void Application::game_loop() } Instrumentor::end_session(); - Instrumentor::begin_session("Logs/ProfileResults_Termination.json"); + Instrumentor::begin_session("data/logs/profile_cleanup.json"); } void Application::quit()