Core: Make PerfStats internally locked

More ergonomic to use and will be required for upcoming changes.
This commit is contained in:
Yuri Kunde Schlesner 2017-02-20 13:56:58 -08:00
parent f273959205
commit b285c2a4ed
7 changed files with 25 additions and 16 deletions

View file

@ -7,7 +7,6 @@
#include <memory>
#include <string>
#include "common/common_types.h"
#include "common/synchronized_wrapper.h"
#include "core/memory.h"
#include "core/perf_stats.h"
@ -94,7 +93,7 @@ public:
return *cpu_core;
}
Common::SynchronizedWrapper<PerfStats> perf_stats;
PerfStats perf_stats;
private:
/**