CMS 3D CMS Logo

memory_usage.h
Go to the documentation of this file.
1 #ifndef memory_usage_h
2 #define memory_usage_h
3 
4 #include <cstdint>
5 
6 class memory_usage {
7 public:
8  static bool is_available();
9  static uint64_t allocated();
10  static uint64_t deallocated();
11  static uint64_t peak();
12  static void reset_peak();
13 };
14 
15 #endif // memory_usage_h
memory_usage::peak
static uint64_t peak()
Definition: memory_usage.cc:90
memory_usage::deallocated
static uint64_t deallocated()
Definition: memory_usage.cc:88
memory_usage::allocated
static uint64_t allocated()
Definition: memory_usage.cc:86
memory_usage::reset_peak
static void reset_peak()
Definition: memory_usage.cc:98
memory_usage
Definition: memory_usage.h:6
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
memory_usage::is_available
static bool is_available()
Definition: memory_usage.cc:84