struct
#include <eckit/container/KDMemory.h>
KDMemory
Base classes
- struct StatCollector
Public types
- using Ptr = void*
Public functions
- auto root() const -> Ptr
- void root(Ptr)
-
template<class Node>auto convert(Node* p) -> Ptr
-
template<class Node>auto convert(Ptr p, const Node*) -> Node*
-
template<class Node, typename A>auto newNode1(const A& a, const Node*) -> Node*
-
template<class Node, typename A, typename B>auto newNode2(const A& a, const B& b, const Node*) -> Node*
-
template<class Node, typename A, typename B, typename C>auto newNode3(const A& a, const B& b, const C& c, const Node*) -> Node*
-
template<class Node>void deleteNode(Ptr p, const Node*)
- auto nbItems() const -> size_t
- void statsCall()
- void statsVisitNode()
- void statsDepth(size_t d)
- void statsNewCandidateOK()
- void statsNewCandidateMiss()
- void statsCrossOver()
- void statsReset()
-
void print(std::
ostream& s) const -
void statsPrint(std::
ostream& s, bool fancy) const
Public variables
- size_t calls_
- size_t nodes_
- size_t depth_
- size_t newCandidateMiss_
- size_t newCandidateOK_
- size_t crossOvers_
Function documentation
void eckit:: KDMemory:: statsCall()
#include <eckit/container/StatCollector.h>
void eckit:: KDMemory:: statsVisitNode()
#include <eckit/container/StatCollector.h>
void eckit:: KDMemory:: statsDepth(size_t d)
#include <eckit/container/StatCollector.h>
void eckit:: KDMemory:: statsNewCandidateOK()
#include <eckit/container/StatCollector.h>
void eckit:: KDMemory:: statsNewCandidateMiss()
#include <eckit/container/StatCollector.h>
void eckit:: KDMemory:: statsCrossOver()
#include <eckit/container/StatCollector.h>
void eckit:: KDMemory:: statsReset()
#include <eckit/container/StatCollector.h>
void eckit:: KDMemory:: print(std:: ostream& s) const
#include <eckit/container/StatCollector.h>
void eckit:: KDMemory:: statsPrint(std:: ostream& s,
bool fancy) const
#include <eckit/container/StatCollector.h>
Variable documentation
size_t eckit:: KDMemory:: calls_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMemory:: nodes_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMemory:: depth_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMemory:: newCandidateMiss_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMemory:: newCandidateOK_
#include <eckit/container/StatCollector.h>
size_t eckit:: KDMemory:: crossOvers_
#include <eckit/container/StatCollector.h>