aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing/httptest.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/testing/httptest.h')
-rw-r--r--zenserver/testing/httptest.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/zenserver/testing/httptest.h b/zenserver/testing/httptest.h
index f55780d05..f7ea0c31c 100644
--- a/zenserver/testing/httptest.h
+++ b/zenserver/testing/httptest.h
@@ -3,6 +3,7 @@
#pragma once
#include <zencore/logging.h>
+#include <zencore/stats.h>
#include <zenhttp/httpserver.h>
#include <atomic>
@@ -39,8 +40,9 @@ public:
};
private:
- HttpRequestRouter m_Router;
- std::atomic<uint32_t> m_Counter{0};
+ HttpRequestRouter m_Router;
+ std::atomic<uint32_t> m_Counter{0};
+ metrics::OperationTiming m_TimingStats;
RwLock m_RwLock;
std::unordered_map<uint32_t, Ref<PackageHandler>> m_HandlerMap;