|
WebCFace 3.3.1
Web-based Communication Framework & Dashboard-like UI
|
#include <benchmark/benchmark.h>#include <webcface/client.h>#include <webcface/value.h>#include <webcface/server/server.h>#include <string>#include <vector>#include <atomic>#include <iostream>Namespaces | |
| namespace | BM_LatencyMultipleValue |
Functions | |
| void | DoSetup (const benchmark::State &state) |
| void | DoTeardown (const benchmark::State &) |
| void | LatencyMultipleValue (benchmark::State &state) |
| BENCHMARK (LatencyMultipleValue) -> RangeMultiplier(4) ->Range(1, 1024) ->Setup(BM_LatencyMultipleValue::DoSetup) ->Teardown(BM_LatencyMultipleValue::DoTeardown) | |
Variables | |
| std::unique_ptr< webcface::server::Server > | server |
| std::unique_ptr< webcface::Client > | wcli1 |
| std::unique_ptr< webcface::Client > | wcli2 |
| std::unique_ptr< std::thread > | sync_thread |
| std::atomic< int > | recv_c |
| std::vector< std::string > | names |
| int | v = 0 |
| BENCHMARK | ( | LatencyMultipleValue | ) | -> RangeMultiplier(4) ->Range(1, 1024) ->Setup(BM_LatencyMultipleValue::DoSetup) ->Teardown(BM_LatencyMultipleValue::DoTeardown) |
| void LatencyMultipleValue | ( | benchmark::State & | state | ) |