uatools 1.0.0
 
Loading...
Searching...
No Matches
Report.hpp File Reference

Thread-safe counters + latency histogram + final summary. More...

#include <array>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <ostream>
#include <string>
#include <ifw/fnd/defs/iCommAdapter.hpp>

Go to the source code of this file.

Classes

class  eso::uatools::uastresstest::Report
 

Namespaces

namespace  eso
 
namespace  eso::uatools
 
namespace  eso::uatools::uastresstest
 

Detailed Description

Thread-safe counters + latency histogram + final summary.

Designed for cheap concurrent updates: each Record() takes one atomic increment + one fetch_add on the relevant histogram bucket. Per-Status totals use a small fixed array so we don't need a hashmap on the hot path. The histogram covers 1 us .. 10 s in log-spaced buckets — fine enough for OPC UA latency without being absurd.