2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 12:27:43 +00:00

Using optick, linked from boo

This commit is contained in:
Henrique Gemignani Passos Lima
2021-04-03 19:48:39 +03:00
committed by Luke Street
parent e3896bdee9
commit d6f19d26e7
25 changed files with 65 additions and 13 deletions

View File

@@ -9,6 +9,7 @@
#include "hecl/Console.hpp"
#include "fmt/chrono.h"
#include "version.h"
#include "optick.h"
static logvisor::Module AthenaLog("Athena");
static void AthenaExc(athena::error::Level level, const char* file, const char*, int line, fmt::string_view fmt,
@@ -71,6 +72,7 @@ struct Application : boo::IApplicationCallback {
initialize(app);
m_viewManager->init(app);
while (m_running.load()) {
OPTICK_FRAME("MainThread");
if (!m_viewManager->proc())
break;
}