eckit::KDMemory struct

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()

void eckit::KDMemory::statsVisitNode()

void eckit::KDMemory::statsDepth(size_t d)

void eckit::KDMemory::statsNewCandidateOK()

void eckit::KDMemory::statsNewCandidateMiss()

void eckit::KDMemory::statsCrossOver()

void eckit::KDMemory::statsReset()

void eckit::KDMemory::print(std::ostream& s) const

void eckit::KDMemory::statsPrint(std::ostream& s, bool fancy) const

Variable documentation

size_t eckit::KDMemory::calls_

size_t eckit::KDMemory::nodes_

size_t eckit::KDMemory::depth_

size_t eckit::KDMemory::newCandidateMiss_

size_t eckit::KDMemory::newCandidateOK_

size_t eckit::KDMemory::crossOvers_

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.