proxygen
proxygen::HTTPTransaction::PrioritySample::WeightedAccumulator Struct Reference

Public Member Functions

void accumulate (uint64_t weighted, uint64_t total)
 
void accumulateWeighted (uint64_t weighted)
 
void accumulateTotal (uint64_t total)
 
double getWeightedAverage () const
 

Private Attributes

uint64_t weighted_ {0}
 
uint64_t total_ {0}
 

Detailed Description

Definition at line 1387 of file HTTPTransaction.cpp.

Member Function Documentation

void proxygen::HTTPTransaction::PrioritySample::WeightedAccumulator::accumulate ( uint64_t  weighted,
uint64_t  total 
)
inline
void proxygen::HTTPTransaction::PrioritySample::WeightedAccumulator::accumulateTotal ( uint64_t  total)
inline

Definition at line 1397 of file HTTPTransaction.cpp.

void proxygen::HTTPTransaction::PrioritySample::WeightedAccumulator::accumulateWeighted ( uint64_t  weighted)
inline

Definition at line 1393 of file HTTPTransaction.cpp.

double proxygen::HTTPTransaction::PrioritySample::WeightedAccumulator::getWeightedAverage ( ) const
inline

Member Data Documentation

uint64_t proxygen::HTTPTransaction::PrioritySample::WeightedAccumulator::total_ {0}
private

Definition at line 1406 of file HTTPTransaction.cpp.

uint64_t proxygen::HTTPTransaction::PrioritySample::WeightedAccumulator::weighted_ {0}
private

Definition at line 1405 of file HTTPTransaction.cpp.


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