MemoryMonitor.h
Go to the documentation of this file.
1 #ifndef _utl_MemoryMonitor_h_
2 #define _utl_MemoryMonitor_h_
3 
4 #include <utl/Singleton.h>
5 
6 
7 namespace utl {
8 
16  class MemoryMonitor : Singleton<MemoryMonitor> {
17  private:
18  MemoryMonitor() = default;
19  ~MemoryMonitor() = default;
20 
21  std::size_t fPageSize = 0;
22 
23  friend class Singleton<MemoryMonitor>;
24  };
25 
26 }
27 
28 
29 #endif
std::size_t fPageSize
Definition: MemoryMonitor.h:21
~MemoryMonitor()=default
monitor memeory
Definition: MemoryMonitor.h:16
MemoryMonitor()=default
Curiously Recurring Template Pattern (CRTP) for Meyers singleton.
Definition: Singleton.h:36

, generated on Tue Sep 26 2023.