diff options
Diffstat (limited to 'libcmix-common/performanceclient.hpp')
| -rw-r--r-- | libcmix-common/performanceclient.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libcmix-common/performanceclient.hpp b/libcmix-common/performanceclient.hpp new file mode 100644 index 0000000..cb9afb1 --- /dev/null +++ b/libcmix-common/performanceclient.hpp @@ -0,0 +1,16 @@ +#pragma once + +#include "sender.hpp" + +#include <boost/timer/timer.hpp> + +class PerformanceClient +{ + std::string node_name; + Sender sender; + boost::timer::cpu_timer timer; +public: + PerformanceClient(std::string name, boost::asio::io_service& io_service, std::string host, std::string port); + + void send(std::string column); +};
\ No newline at end of file |
