mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fixes wsperf avg and KBps starting values
This commit is contained in:
@@ -57,6 +57,7 @@ public:
|
||||
);
|
||||
|
||||
m_start = boost::chrono::steady_clock::now();
|
||||
m_bytes = 0;
|
||||
}
|
||||
|
||||
void mark() {
|
||||
@@ -64,7 +65,7 @@ public:
|
||||
}
|
||||
|
||||
void end(connection_ptr con) {
|
||||
uint64_t avg;
|
||||
uint64_t avg = 0;
|
||||
std::vector<uint64_t> avgs(10);
|
||||
double squaresum = 0;
|
||||
uint64_t stddev = 0;
|
||||
|
||||
Reference in New Issue
Block a user