diff options
| author | Cory Fields <[email protected]> | 2017-10-25 16:38:24 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2017-11-07 17:15:58 -0500 |
| commit | c515d266ec04d7f0b2b1b3815a793c27ddcd4e1c (patch) | |
| tree | 57055da9437118e4220868fee4ce3853534cb7c3 /src/httpserver.cpp | |
| parent | Merge #11538: qa: Fix race condition failures in replace-by-fee.py, sendheade... (diff) | |
| download | discoin-c515d266ec04d7f0b2b1b3815a793c27ddcd4e1c.tar.xz discoin-c515d266ec04d7f0b2b1b3815a793c27ddcd4e1c.zip | |
bench: switch to std::chrono for time measurements
std::chrono removes portability issues.
Rather than storing doubles, store the untouched time_points. Then
convert to nanoseconds for display. This allows for maximum precision, while
keeping results comparable between differing hardware/operating systems.
Also, display full nanosecond counts rather than sub-second floats.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions