proxygen
folly::F14TableStats Struct Reference

#include <F14Table.h>

Static Public Member Functions

template<typename T >
static F14TableStats compute (T const &m)
 

Public Attributes

char const * policy
 
std::size_t size {0}
 
std::size_t valueSize {0}
 
std::size_t bucketCount {0}
 
std::size_t chunkCount {0}
 
std::vector< std::size_t > chunkOccupancyHisto
 
std::vector< std::size_t > chunkOutboundOverflowHisto
 
std::vector< std::size_t > chunkHostedOverflowHisto
 
std::vector< std::size_t > keyProbeLengthHisto
 
std::vector< std::size_t > missProbeLengthHisto
 
std::size_t totalBytes {0}
 
std::size_t overheadBytes {0}
 

Static Private Member Functions

template<typename T >
static auto computeHelper (T const *m) -> decltype(m->computeStats())
 
static F14TableStats computeHelper (...)
 

Detailed Description

Definition at line 82 of file F14Table.h.

Member Function Documentation

template<typename T >
static F14TableStats folly::F14TableStats::compute ( T const &  m)
inlinestatic

Definition at line 108 of file F14Table.h.

References computeHelper().

Referenced by TEST().

108  {
109  return computeHelper(&m);
110  }
static auto computeHelper(T const *m) -> decltype(m->computeStats())
Definition: F14Table.h:98
static map< string, int > m
template<typename T >
static auto folly::F14TableStats::computeHelper ( T const *  m) -> decltype(m->computeStats())
inlinestaticprivate

Definition at line 98 of file F14Table.h.

References m.

Referenced by compute().

98  {
99  return m->computeStats();
100  }
static map< string, int > m
static F14TableStats folly::F14TableStats::computeHelper (   ...)
inlinestaticprivate

Definition at line 102 of file F14Table.h.

102  {
103  return {};
104  }

Member Data Documentation

std::size_t folly::F14TableStats::bucketCount {0}

Definition at line 86 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::size_t folly::F14TableStats::chunkCount {0}

Definition at line 87 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::vector<std::size_t> folly::F14TableStats::chunkHostedOverflowHisto

Definition at line 90 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::vector<std::size_t> folly::F14TableStats::chunkOccupancyHisto

Definition at line 88 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::vector<std::size_t> folly::F14TableStats::chunkOutboundOverflowHisto

Definition at line 89 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::vector<std::size_t> folly::F14TableStats::keyProbeLengthHisto

Definition at line 91 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::vector<std::size_t> folly::F14TableStats::missProbeLengthHisto

Definition at line 92 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::size_t folly::F14TableStats::overheadBytes {0}

Definition at line 94 of file F14Table.h.

Referenced by folly::f14::operator<<().

char const* folly::F14TableStats::policy

Definition at line 83 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::size_t folly::F14TableStats::size {0}

Definition at line 84 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::size_t folly::F14TableStats::totalBytes {0}

Definition at line 93 of file F14Table.h.

Referenced by folly::f14::operator<<().

std::size_t folly::F14TableStats::valueSize {0}

Definition at line 85 of file F14Table.h.

Referenced by folly::f14::operator<<().


The documentation for this struct was generated from the following file: