mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 17:27:00 +00:00
Add cpu counter
This commit is contained in:
@@ -81,7 +81,7 @@ getProfilingResults()
|
||||
std::vector<std::int64_t> times;
|
||||
times.reserve(duration.time.size());
|
||||
|
||||
std::transform(std::begin(duration.time), std::end(duration.time), std::back_inserter(times), [](std::int64_t a, const std::chrono::nanoseconds& time) {
|
||||
std::transform(std::begin(duration.time), std::end(duration.time), std::back_inserter(times), [](const std::chrono::nanoseconds& time) {
|
||||
return static_cast<std::int64_t>(time.count());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user