diff options
Diffstat (limited to 'zenserver/cache/structuredcache.cpp')
| -rw-r--r-- | zenserver/cache/structuredcache.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zenserver/cache/structuredcache.cpp b/zenserver/cache/structuredcache.cpp index ebf6298a4..47ac9f6e7 100644 --- a/zenserver/cache/structuredcache.cpp +++ b/zenserver/cache/structuredcache.cpp @@ -7,6 +7,7 @@ #include <zencore/compactbinarypackage.h> #include <zencore/compactbinaryvalidation.h> #include <zencore/compress.h> +#include <zencore/trace.h> #include <zencore/fmtutils.h> #include <zencore/logging.h> #include <zencore/scopeguard.h> @@ -810,6 +811,8 @@ HttpStructuredCacheService::HandleRpcRequest(zen::HttpServerRequest& Request) void HttpStructuredCacheService::HandleRpcGetCacheRecords(zen::HttpServerRequest& Request, CbObjectView RpcRequest) { + ZEN_TRACE_CPU("Z$::RpcGetCacheRecords"); + using namespace fmt::literals; CbPackage RpcResponse; @@ -1006,6 +1009,8 @@ HttpStructuredCacheService::HandleRpcGetCacheRecords(zen::HttpServerRequest& Req void HttpStructuredCacheService::HandleRpcGetCachePayloads(zen::HttpServerRequest& Request, CbObjectView RpcRequest) { + ZEN_TRACE_CPU("Z$::RpcGetCachePayloads"); + using namespace fmt::literals; ZEN_ASSERT(RpcRequest["Method"sv].AsString() == "GetCachePayloads"sv); |