CMS 3D CMS Logo

List of all members | Static Public Member Functions
memory_usage Class Reference

#include <memory_usage.h>

Static Public Member Functions

static uint64_t allocated ()
 
static uint64_t deallocated ()
 
static bool is_available ()
 

Detailed Description

Definition at line 6 of file memory_usage.h.

Member Function Documentation

uint64_t memory_usage::allocated ( )
static

Definition at line 70 of file memory_usage.cc.

Referenced by FastTimerService::Measurement::measure(), and FastTimerService::Measurement::measure_and_store().

71 {
72  return * thread_allocated_p;
73 }
uint64_t memory_usage::deallocated ( )
static

Definition at line 75 of file memory_usage.cc.

Referenced by FastTimerService::Measurement::measure(), and FastTimerService::Measurement::measure_and_store().

76 {
77  return * thread_deallocated_p;
78 }
bool memory_usage::is_available ( )
static

Definition at line 65 of file memory_usage.cc.

Referenced by FastTimerService::PlotsPerElement::book(), and FastTimerService::PlotsPerPath::book().

66 {
67  return have_jemalloc_and_stats;
68 }