diff options
| author | Dan Engelbrecht <[email protected]> | 2025-08-22 18:16:09 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-08-22 18:16:09 +0200 |
| commit | fb6426127354415505dbedacd63b3a16116dac2f (patch) | |
| tree | bbc39a085433b1e837fb07ea4e4399ba932dbdca /src/zenhttp/servers/httpasio.cpp | |
| parent | avoid new in static IoBuffer (#472) (diff) | |
| download | zen-fb6426127354415505dbedacd63b3a16116dac2f.tar.xz zen-fb6426127354415505dbedacd63b3a16116dac2f.zip | |
clean up trace options parsing (#473)
* clean up trace command line options
explicitly shut down worker pools
* some additional startup trace scopes
Diffstat (limited to 'src/zenhttp/servers/httpasio.cpp')
| -rw-r--r-- | src/zenhttp/servers/httpasio.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<uint16_t>(BasePort), m_ForceLoopback, m_ThreadCount); @@ -1219,6 +1220,7 @@ HttpAsioServer::RequestExit() Ref<HttpServer> CreateHttpAsioServer(bool ForceLoopback, unsigned int ThreadCount) { + ZEN_TRACE_CPU("CreateHttpAsioServer"); ZEN_MEMSCOPE(GetHttpasioTag()); return Ref<HttpServer>{new HttpAsioServer(ForceLoopback, ThreadCount)}; |