diff options
Diffstat (limited to 'fbench/src/fbench/client.h')
-rw-r--r-- | fbench/src/fbench/client.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fbench/src/fbench/client.h b/fbench/src/fbench/client.h index 107b4997d93..1e0b750dbb2 100644 --- a/fbench/src/fbench/client.h +++ b/fbench/src/fbench/client.h @@ -1,7 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once -#include <util/clientstatus.h> #include <fstream> #include <atomic> #include <thread> @@ -150,6 +149,11 @@ private: ClientArguments &operator=(const ClientArguments &); }; + +class Timer; +class HTTPClient; +class FileReader; +class ClientStatus; /** * This class implements a single test client. The clients are run in * separate threads to simulate several simultanious users. The @@ -161,9 +165,9 @@ class Client private: std::unique_ptr<ClientArguments> _args; std::unique_ptr<ClientStatus> _status; - Timer::UP _reqTimer; - Timer::UP _cycleTimer; - Timer::UP _masterTimer; + std::unique_ptr<Timer> _reqTimer; + std::unique_ptr<Timer> _cycleTimer; + std::unique_ptr<Timer> _masterTimer; std::unique_ptr<HTTPClient> _http; std::unique_ptr<FileReader> _reader; std::unique_ptr<std::ofstream> _output; |