From fb6426127354415505dbedacd63b3a16116dac2f Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Fri, 22 Aug 2025 18:16:09 +0200 Subject: clean up trace options parsing (#473) * clean up trace command line options explicitly shut down worker pools * some additional startup trace scopes --- src/zenhttp/servers/httpasio.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/zenhttp/servers/httpasio.cpp') diff --git a/src/zenhttp/servers/httpasio.cpp b/src/zenhttp/servers/httpasio.cpp index c1b7294c9..5392140d1 100644 --- a/src/zenhttp/servers/httpasio.cpp +++ b/src/zenhttp/servers/httpasio.cpp @@ -1159,6 +1159,7 @@ HttpAsioServer::RegisterService(HttpService& Service) int HttpAsioServer::Initialize(int BasePort, std::filesystem::path DataDir) { + ZEN_TRACE_CPU("HttpAsioServer::Initialize"); m_Impl->Initialize(DataDir); m_BasePort = m_Impl->Start(gsl::narrow(BasePort), m_ForceLoopback, m_ThreadCount); @@ -1219,6 +1220,7 @@ HttpAsioServer::RequestExit() Ref CreateHttpAsioServer(bool ForceLoopback, unsigned int ThreadCount) { + ZEN_TRACE_CPU("CreateHttpAsioServer"); ZEN_MEMSCOPE(GetHttpasioTag()); return Ref{new HttpAsioServer(ForceLoopback, ThreadCount)}; -- cgit v1.2.3