CatapultServer  v0.5.0.1 (Elephant)
MemoryCounters.cpp File Reference
Include dependency graph for MemoryCounters.cpp:

Namespaces

 catapult
 
 catapult::local
 

Macros

#define GET_MEMORY_VALUE(NAME)   utils::FileSize::FromBytes(PagesToBytes(GetMemoryInfo().NAME)).megabytes()
 

Functions

void catapult::local::AddMemoryCounters (std::vector< utils::DiagnosticCounter > &counters)
 Adds process memory counters to counters. More...
 

Macro Definition Documentation

◆ GET_MEMORY_VALUE

#define GET_MEMORY_VALUE (   NAME)    utils::FileSize::FromBytes(PagesToBytes(GetMemoryInfo().NAME)).megabytes()

Variable Documentation

◆ resident

uint64_t resident

◆ shared

uint64_t shared

◆ size

uint64_t size