join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::details Namespace Reference

Classes

struct  EscapedTable
 
struct  lessNoCase
 
struct  OrderingOf
 comparison category of an alternative. More...
 
struct  OrderingOf< std::nullptr_t >
 comparison category of nullptr_t. More...
 
struct  UnescapedTable
 
struct  VariantHelper
 helper class for variant operations using jump tables for O(1) dispatch. More...
 
struct  WhitespaceTable
 

Typedefs

template<typename... Ts>
using VariantOrdering = std::common_comparison_category_t<typename OrderingOf<Ts>::type...>
 comparison category of a variant.
 

Functions

int latencyScaleIndex () noexcept
 returns the xalloc index used to store the latency scale on a stream.
 
int throughputScaleIndex () noexcept
 returns the xalloc index used to store the throughput scale on a stream.
 

Variables

constexpr int colMetric = 24
 width of the metric name column.
 
constexpr int colCount = 14
 width of the sample count column.
 
constexpr int colThroughput = 20
 width of the throughput column.
 
constexpr int colLatency = 16
 width of the latency columns.
 
constexpr int colTotal = colMetric + colCount + colThroughput + colLatency * 6
 total table width.
 
constexpr char digitPairs [201]
 
constexpr UnescapedTable unescapedLookup {}
 
constexpr EscapedTable escapedLookup {}
 
constexpr WhitespaceTable whitespaceLookup {}
 
constexpr char hexDigits [17] = "0123456789abcdef"
 

Typedef Documentation

◆ VariantOrdering

template<typename... Ts>
using join::details::VariantOrdering = std::common_comparison_category_t<typename OrderingOf<Ts>::type...>

comparison category of a variant.

Function Documentation

◆ latencyScaleIndex()

int join::details::latencyScaleIndex ( )
inlinenoexcept

returns the xalloc index used to store the latency scale on a stream.

Returns
stream storage index.

◆ throughputScaleIndex()

int join::details::throughputScaleIndex ( )
inlinenoexcept

returns the xalloc index used to store the throughput scale on a stream.

Returns
stream storage index.

Variable Documentation

◆ colCount

int join::details::colCount = 14
constexpr

width of the sample count column.

◆ colLatency

int join::details::colLatency = 16
constexpr

width of the latency columns.

◆ colMetric

int join::details::colMetric = 24
constexpr

width of the metric name column.

◆ colThroughput

int join::details::colThroughput = 20
constexpr

width of the throughput column.

◆ colTotal

int join::details::colTotal = colMetric + colCount + colThroughput + colLatency * 6
constexpr

total table width.

◆ digitPairs

char join::details::digitPairs[201]
constexpr
Initial value:
= {
"00010203040506070809"
"10111213141516171819"
"20212223242526272829"
"30313233343536373839"
"40414243444546474849"
"50515253545556575859"
"60616263646566676869"
"70717273747576777879"
"80818283848586878889"
"90919293949596979899"}

◆ escapedLookup

EscapedTable join::details::escapedLookup {}
constexpr

◆ hexDigits

char join::details::hexDigits[17] = "0123456789abcdef"
constexpr

◆ unescapedLookup

UnescapedTable join::details::unescapedLookup {}
constexpr

◆ whitespaceLookup

WhitespaceTable join::details::whitespaceLookup {}
constexpr