mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-11 05:23:29 -04:00
fix(perfmon): ensure atomics are properly initialized
This commit is contained in:
parent
63dff242d4
commit
cc82c429b5
@ -99,8 +99,8 @@ class single_timer {
|
||||
}
|
||||
|
||||
private:
|
||||
std::atomic<uint64_t> samples_;
|
||||
std::atomic<uint64_t> total_time_;
|
||||
std::atomic<uint64_t> samples_{};
|
||||
std::atomic<uint64_t> total_time_{};
|
||||
folly::Histogram<size_t> log_hist_;
|
||||
std::mutex mutable log_hist_mutex_;
|
||||
std::string const namespace_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user