NEURON
container.cpp File Reference
#include "neuron/container/soa_container.hpp"
#include "neuron/container/view_utils.hpp"
#include "neuron/model_data.hpp"
#include "nrn_ansi.h"
#include <catch2/catch_test_macros.hpp>
#include <thread>

Go to the source code of this file.

Namespaces

 field
 

Functions

 TEST_CASE ("Tag type with array_dimension and without num_variables", "[Neuron][data_structures]")
 
 TEST_CASE ("Multi-threaded calls to nrn_ensure_model_data_are_sorted()", "[Neuron][data_structures]")
 
 TEST_CASE ("soa::get_array_dims", "[Neuron][data_structures]")
 
 TEST_CASE ("soa::get_num_variables", "[Neuron][data_structures]")
 
 TEST_CASE ("defer delete storage pointer", "[Neuron][internal][data_structures]")
 
template<class Tag , class Storage >
std::size_t compute_row_size (const Storage &data)
 
 TEST_CASE ("container memory usage", "[Neuron][internal][data_structures]")
 
 TEST_CASE ("model memory usage", "[Neuron][internal][data_structures]")
 
 TEST_CASE ("cache::model memory_usage", "[Neuron][internal][data_structures]")
 
 TEST_CASE ("format_memory", "[Neuron][internal]")
 
neuron::container::MemoryUsage dummy_memory_usage ()
 
 TEST_CASE ("total memory usage", "[Neuron][internal][data_structures]")
 
 TEST_CASE ("memory usage summary", "[Neuron][data_structures]")
 

Function Documentation

◆ compute_row_size()

template<class Tag , class Storage >
std::size_t compute_row_size ( const Storage &  data)

Definition at line 167 of file container.cpp.

◆ dummy_memory_usage()

neuron::container::MemoryUsage dummy_memory_usage ( )

Definition at line 258 of file container.cpp.

◆ TEST_CASE() [1/11]

TEST_CASE ( "cache::model memory_usage ,
""  [Neuron][internal][data_structures] 
)

Definition at line 234 of file container.cpp.

◆ TEST_CASE() [2/11]

TEST_CASE ( "container memory usage"  ,
""  [Neuron][internal][data_structures] 
)

Definition at line 177 of file container.cpp.

◆ TEST_CASE() [3/11]

TEST_CASE ( "defer delete storage pointer"  ,
""  [Neuron][internal][data_structures] 
)

Definition at line 153 of file container.cpp.

◆ TEST_CASE() [4/11]

TEST_CASE ( "format_memory"  ,
""  [Neuron][internal] 
)

Definition at line 242 of file container.cpp.

◆ TEST_CASE() [5/11]

TEST_CASE ( "memory usage summary"  ,
""  [Neuron][data_structures] 
)

Definition at line 281 of file container.cpp.

◆ TEST_CASE() [6/11]

TEST_CASE ( "model memory usage"  ,
""  [Neuron][internal][data_structures] 
)

Definition at line 202 of file container.cpp.

◆ TEST_CASE() [7/11]

TEST_CASE ( "Multi-threaded calls to nrn_ensure_model_data_are_sorted()"  ,
""  [Neuron][data_structures] 
)

Definition at line 86 of file container.cpp.

◆ TEST_CASE() [8/11]

TEST_CASE ( "soa::get_array_dims"  ,
""  [Neuron][data_structures] 
)

Definition at line 121 of file container.cpp.

◆ TEST_CASE() [9/11]

TEST_CASE ( "soa::get_num_variables"  ,
""  [Neuron][data_structures] 
)

Definition at line 140 of file container.cpp.

◆ TEST_CASE() [10/11]

TEST_CASE ( "Tag type with array_dimension and without num_variables"  ,
""  [Neuron][data_structures] 
)

Definition at line 77 of file container.cpp.

◆ TEST_CASE() [11/11]

TEST_CASE ( "total memory usage"  ,
""  [Neuron][internal][data_structures] 
)

Definition at line 274 of file container.cpp.