Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Specialised metric which exposes numeric properties from tcmalloc. More...
#include <memory-metrics.h>
Classes | |
class | PhysicalBytesMetric |
Public Member Functions | |
TcmallocMetric (const std::string &key, const std::string &tcmalloc_var) | |
Static Public Attributes | |
static TcmallocMetric * | BYTES_IN_USE = NULL |
Number of bytes allocated by tcmalloc, currently used by the application. More... | |
static TcmallocMetric * | TOTAL_BYTES_RESERVED = NULL |
static TcmallocMetric * | PAGEHEAP_FREE_BYTES = NULL |
static TcmallocMetric * | PAGEHEAP_UNMAPPED_BYTES = NULL |
static PhysicalBytesMetric * | PHYSICAL_BYTES_RESERVED = NULL |
Private Member Functions | |
virtual void | CalculateValue () |
Private Attributes | |
const std::string | tcmalloc_var_ |
Name of the tcmalloc property this metric should fetch. More... | |
Specialised metric which exposes numeric properties from tcmalloc.
Definition at line 32 of file memory-metrics.h.
|
inline |
Definition at line 68 of file memory-metrics.h.
|
inlineprivatevirtual |
Definition at line 75 of file memory-metrics.h.
References tcmalloc_var_.
|
static |
Number of bytes allocated by tcmalloc, currently used by the application.
Definition at line 35 of file memory-metrics.h.
Referenced by impala::RegisterMemoryMetrics().
|
static |
Number of bytes reserved and still mapped by tcmalloc that are not allocated to the application.
Definition at line 45 of file memory-metrics.h.
Referenced by impala::RegisterMemoryMetrics().
|
static |
Number of bytes once reserved by tcmalloc, but released back to the operating system so that their use incurs a pagefault. Contributes to the total amount of virtual address space used, but not to the physical memory usage.
Definition at line 50 of file memory-metrics.h.
Referenced by impala::TcmallocMetric::PhysicalBytesMetric::CalculateValue(), and impala::RegisterMemoryMetrics().
|
static |
Definition at line 66 of file memory-metrics.h.
Referenced by impala::RegisterMemoryMetrics(), and impala::ExecEnv::StartServices().
|
private |
Name of the tcmalloc property this metric should fetch.
Definition at line 73 of file memory-metrics.h.
Referenced by CalculateValue().
|
static |
Number of bytes of system memory reserved by tcmalloc, including that in use by the application. Does not include what tcmalloc accounts for as 'malloc metadata' in /memz. That is, this is memory reserved by tcmalloc that the application can use. Includes unmapped virtual memory.
Definition at line 41 of file memory-metrics.h.
Referenced by impala::TcmallocMetric::PhysicalBytesMetric::CalculateValue(), and impala::RegisterMemoryMetrics().