From 3c960d1325547750c311b11f0b137fa45781ceb7 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 15 May 2023 20:36:22 +0200 Subject: added some top-level trace scopes to httpsys impl --- src/zenhttp/httpsys.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/zenhttp/httpsys.cpp') diff --git a/src/zenhttp/httpsys.cpp b/src/zenhttp/httpsys.cpp index 979f69aeb..0b06f0558 100644 --- a/src/zenhttp/httpsys.cpp +++ b/src/zenhttp/httpsys.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include #if ZEN_WITH_HTTPSYS @@ -675,6 +676,8 @@ HttpAsyncWorkRequest::HandleCompletion(ULONG IoResult, ULONG_PTR NumberOfBytesTr void HttpAsyncWorkRequest::AsyncWorkItem::Execute() { + ZEN_TRACE_CPU("httpsys::async_execute"); + try { HttpSysServerRequest& ThisRequest = Tx.ServerRequest(); @@ -1527,6 +1530,8 @@ InitialRequestHandler::HandleCompletion(ULONG IoResult, ULONG_PTR NumberOfBytesT break; } + ZEN_TRACE_CPU("httpsys::HandleCompletion"); + // Route request try -- cgit v1.2.3