senf::emu::WifiStatistics Class Reference

#include <senf/Ext/NetEmu/WLAN/WifiStatistics.hh>

Public Member Functions

 WifiStatistics (std::string ifName, std::string debugFS="/sys/kernel/debug")
 
 ~WifiStatistics ()
 
bool enable (bool on=true)
 
bool pollStatistics (std::uint32_t tag, senf::ClockService::clock_type const &maxAge)
 
bool pollStatisticsCSV (std::uint32_t tag, senf::ClockService::clock_type const &maxAge)
 
bool pollStatisticsBIN (std::uint32_t tag, senf::ClockService::clock_type const &maxAge)
 
WifiStatisticsMap const & map () const
 
ClockService::clock_type const & timestamp () const
 
std::uint32_t tag () const
 
std::uint32_t invalidEntries () const
 
std::uint32_t ioErrors () const
 
WifiStatisticsMap const & statisticsMap (std::uint32_t tag, senf::ClockService::clock_type const &maxAge)
 

Detailed Description

Definition at line 138 of file WifiStatistics.hh.

Constructor & Destructor Documentation

◆ WifiStatistics()

senf::emu::WifiStatistics::WifiStatistics ( std::string  ifName,
std::string  debugFS = "/sys/kernel/debug" 
)

Definition at line 128 of file WifiStatistics.cc.

◆ ~WifiStatistics()

senf::emu::WifiStatistics::~WifiStatistics ( )

Definition at line 136 of file WifiStatistics.cc.

Member Function Documentation

◆ enable()

bool senf::emu::WifiStatistics::enable ( bool  on = true)

Definition at line 141 of file WifiStatistics.cc.

◆ invalidEntries()

std::uint32_t senf::emu::WifiStatistics::invalidEntries ( ) const

Definition at line 458 of file WifiStatistics.cc.

◆ ioErrors()

std::uint32_t senf::emu::WifiStatistics::ioErrors ( ) const

Definition at line 464 of file WifiStatistics.cc.

◆ map()

senf::emu::WifiStatisticsMap const & senf::emu::WifiStatistics::map ( ) const

Definition at line 440 of file WifiStatistics.cc.

◆ pollStatistics()

bool senf::emu::WifiStatistics::pollStatistics ( std::uint32_t  tag,
senf::ClockService::clock_type const &  maxAge 
)

Definition at line 154 of file WifiStatistics.cc.

◆ pollStatisticsBIN()

bool senf::emu::WifiStatistics::pollStatisticsBIN ( std::uint32_t  tag,
senf::ClockService::clock_type const &  maxAge 
)

Definition at line 408 of file WifiStatistics.cc.

◆ pollStatisticsCSV()

bool senf::emu::WifiStatistics::pollStatisticsCSV ( std::uint32_t  tag,
senf::ClockService::clock_type const &  maxAge 
)

Definition at line 340 of file WifiStatistics.cc.

◆ statisticsMap()

senf::emu::WifiStatisticsMap const & senf::emu::WifiStatistics::statisticsMap ( std::uint32_t  tag,
senf::ClockService::clock_type const &  maxAge 
)

Definition at line 470 of file WifiStatistics.cc.

◆ tag()

std::uint32_t senf::emu::WifiStatistics::tag ( ) const

Definition at line 452 of file WifiStatistics.cc.

◆ timestamp()

senf::ClockService::clock_type const & senf::emu::WifiStatistics::timestamp ( ) const

Definition at line 446 of file WifiStatistics.cc.


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