Holds one channel statistics event, used for profiling. More...
#include <channelStatistics.h>


Public Member Functions | |
| ChannelStatistics (const Statistic::Type type, Channel *channel) | |
| Construct a statistics sampler and sample the start time. | |
| virtual | ~ChannelStatistics () |
| Destruct the sampler, sample the end time and send the event. | |
Holds one channel statistics event, used for profiling.
Definition at line 30 of file channelStatistics.h.
| eq::ChannelStatistics::ChannelStatistics | ( | const Statistic::Type | type, | |
| Channel * | channel | |||
| ) |
Construct a statistics sampler and sample the start time.
Definition at line 33 of file channelStatistics.cpp.
References eq::StatisticSampler< Channel >::event, eq::Window::finish(), eq::Channel::getConfig(), eq::Channel::getIAttribute(), eq::net::Object::getID(), eq::Channel::getName(), eq::Channel::getTaskID(), eq::Config::getTime(), eq::Channel::getWindow(), eq::Channel::IATTR_HINT_STATISTICS, eq::NICEST, eq::OFF, and eq::Event::statistic.

| eq::ChannelStatistics::~ChannelStatistics | ( | ) | [virtual] |
Destruct the sampler, sample the end time and send the event.
Definition at line 58 of file channelStatistics.cpp.
References eq::Channel::addStatistic(), eq::StatisticSampler< Channel >::event, eq::Window::finish(), eq::Channel::getConfig(), eq::Channel::getIAttribute(), eq::Config::getTime(), eq::Channel::getWindow(), eq::Channel::IATTR_HINT_STATISTICS, eq::NICEST, eq::OFF, and eq::Event::statistic.

0.9.1 by
1.6.1