Menu

famouso::mw::afp::defrag::Statistics< Tag > Class Template Reference

Policy: Defragmentation statistics. More...

#include <Statistics.h>

Static Public Member Functions

static void fragment_received ()
 Increment total number of fragments received (called by DefragmentationProcessor).
static void fragment_incorrect_header ()
 Increment number of fragments with incorrect header (called by DefragmentationProcessor).
static void fragment_outdated ()
 Increment total number of fragments ariving too late (called by DefragmentationProcessor).
static void fragment_duplicate ()
 Increment number of duplicate fragments (called by Defragmenter).
static void fragment_used ()
 Increment number of used fragments (called by data reconstruction policy).
static void fragments_expected (unsigned int n)
 Increase number of expected fragments (called by data reconstruction policy).
static void fragments_currently_expected_add (unsigned int n)
 Increase number of currently expected fragments (called by data reconstruction policy).
static void fragments_currently_expected_sub (unsigned int n)
 Decrease number of currently expected fragments (called by data reconstruction policy).
static void event_complete ()
 Increment number of reconstructed events (called by data reconstruction policy).
static void event_incomplete ()
 Increment number of events not completely reconstructed (called by data reconstruction policy).
static void get_fragment_stats (FragmentStats &fs)
 Get current statistics about fragments.
static void get_event_stats (EventStats &es)
 Get current statistics about events.

Detailed Description

template<class Tag>
class famouso::mw::afp::defrag::Statistics< Tag >

Policy: Defragmentation statistics.

See also:
FragmentStats, EventStats, NoStatistics

Member Function Documentation

template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::event_complete (  )  [inline, static]
template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::fragment_duplicate (  )  [inline, static]

Increment number of duplicate fragments (called by Defragmenter).

Referenced by famouso::mw::afp::defrag::Defragmenter< DCP >::put_fragment().

template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::fragment_incorrect_header (  )  [inline, static]

Increment number of fragments with incorrect header (called by DefragmentationProcessor).

template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::fragment_outdated (  )  [inline, static]

Increment total number of fragments ariving too late (called by DefragmentationProcessor).

template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::fragment_received (  )  [inline, static]

Increment total number of fragments received (called by DefragmentationProcessor).

template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::fragment_used (  )  [inline, static]
template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::fragments_currently_expected_add ( unsigned int  n  )  [inline, static]
template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::fragments_expected ( unsigned int  n  )  [inline, static]
template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::get_event_stats ( EventStats es  )  [inline, static]

Get current statistics about events.

template<class Tag >
static void famouso::mw::afp::defrag::Statistics< Tag >::get_fragment_stats ( FragmentStats fs  )  [inline, static]

Get current statistics about fragments.


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