NEURON
memory_usage.hpp File Reference
#include <cstdio>
#include <vector>
#include <ostream>
#include <cmath>
#include <sstream>

Go to the source code of this file.

Classes

struct  neuron::container::VectorMemoryUsage
 Size and capacity in bytes. More...
 
struct  neuron::container::StorageMemoryUsage
 Memory usage of a storage/soa container. More...
 
struct  neuron::container::ModelMemoryUsage
 Memory usage of a neuron::Model. More...
 
struct  neuron::container::cache::ModelMemoryUsage
 Memory usage of a neuron::cache::Model. More...
 
struct  neuron::container::MemoryUsage
 Overall SoA datastructures related memory usage. More...
 
struct  neuron::container::MemoryUsageSummary
 
struct  neuron::container::MemoryStats
 

Namespaces

 neuron
 In mechanism libraries, cannot use auto const token = nrn_ensure_model_data_are_sorted(); because the return type is incomplete (from include/neuron/model_data.hpp).
 
 neuron::container
 
 neuron::container::cache
 

Functions

MemoryUsage neuron::container::local_memory_usage ()
 Gather memory usage of this process. More...
 
std::string neuron::container::format_memory (size_t bytes)
 Utility to format memory as a human readable string. More...
 
std::string neuron::container::format_memory_usage (const VectorMemoryUsage &memory_usage)
 Aligned, human readable representation of memory_usage. More...
 
std::string neuron::container::format_memory_usage (const MemoryUsage &usage)
 Create a string representation of usage. More...
 
void neuron::container::print_memory_usage (const MemoryUsage &usage)