diff options
| author | Stefan Boberg <[email protected]> | 2023-05-15 20:36:22 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-05-15 20:36:22 +0200 |
| commit | 3c960d1325547750c311b11f0b137fa45781ceb7 (patch) | |
| tree | 3cd907ad9a54ce043c83be07fe62043b6f80b6da /src/zenhttp/httpsys.cpp | |
| parent | SetCurrentThreadName now sets thread name in trace (diff) | |
| download | zen-3c960d1325547750c311b11f0b137fa45781ceb7.tar.xz zen-3c960d1325547750c311b11f0b137fa45781ceb7.zip | |
added some top-level trace scopes to httpsys impl
Diffstat (limited to 'src/zenhttp/httpsys.cpp')
| -rw-r--r-- | src/zenhttp/httpsys.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 <zencore/scopeguard.h> #include <zencore/string.h> #include <zencore/timer.h> +#include <zencore/trace.h> #include <zenhttp/httpshared.h> #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 |