#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) |
Definition at line 138 of file WifiStatistics.hh.
senf::emu::WifiStatistics::WifiStatistics | ( | std::string | ifName, |
std::string | debugFS = "/sys/kernel/debug" |
||
) |
Definition at line 128 of file WifiStatistics.cc.
senf::emu::WifiStatistics::~WifiStatistics | ( | ) |
Definition at line 136 of file WifiStatistics.cc.
bool senf::emu::WifiStatistics::enable | ( | bool | on = true | ) |
Definition at line 141 of file WifiStatistics.cc.
std::uint32_t senf::emu::WifiStatistics::invalidEntries | ( | ) | const |
Definition at line 458 of file WifiStatistics.cc.
std::uint32_t senf::emu::WifiStatistics::ioErrors | ( | ) | const |
Definition at line 464 of file WifiStatistics.cc.
senf::emu::WifiStatisticsMap const & senf::emu::WifiStatistics::map | ( | ) | const |
Definition at line 440 of file WifiStatistics.cc.
bool senf::emu::WifiStatistics::pollStatistics | ( | std::uint32_t | tag, |
senf::ClockService::clock_type const & | maxAge | ||
) |
Definition at line 154 of file WifiStatistics.cc.
bool senf::emu::WifiStatistics::pollStatisticsBIN | ( | std::uint32_t | tag, |
senf::ClockService::clock_type const & | maxAge | ||
) |
Definition at line 408 of file WifiStatistics.cc.
bool senf::emu::WifiStatistics::pollStatisticsCSV | ( | std::uint32_t | tag, |
senf::ClockService::clock_type const & | maxAge | ||
) |
Definition at line 340 of file WifiStatistics.cc.
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.
std::uint32_t senf::emu::WifiStatistics::tag | ( | ) | const |
Definition at line 452 of file WifiStatistics.cc.
senf::ClockService::clock_type const & senf::emu::WifiStatistics::timestamp | ( | ) | const |
Definition at line 446 of file WifiStatistics.cc.