CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
static uint64_t deallocated()
Definition: memory_usage.cc:88
static void reset_peak()
Definition: memory_usage.cc:98
static bool is_available()
Definition: memory_usage.cc:84
unsigned long long uint64_t
Definition: Time.h:13
static uint64_t allocated()
Definition: memory_usage.cc:86
static uint64_t peak()
Definition: memory_usage.cc:90