senf::scheduler::LogTimeSource Struct Reference

scheduler specific time source for Utils/Logger framework More...

#include <senf/Scheduler/Scheduler.hh>

Inheritance diagram for senf::scheduler::LogTimeSource:

Public Member Functions

senf::log::time_type operator() () const
 
- Public Member Functions inherited from senf::log::TimeSource
virtual ~TimeSource ()
 

Additional Inherited Members

- Static Public Member Functions inherited from senf::log::TimeSource
static time_type now ()
 

Detailed Description

scheduler specific time source for Utils/Logger framework

This time source may be used to provide timing information for log messages within the Utils/Logger framework. This time source will use Scheduler::eventTime() to provide timing information.

senf::log::timeSource<senf::scheduler::LogTimeSource>();
    Using this information reduces the number of necessary ClockService::now() calls and thus
    the number of system calls.

Definition at line 359 of file Scheduler.hh.

Member Function Documentation

◆ operator()()

senf::log::time_type senf::scheduler::LogTimeSource::operator() ( ) const
virtual

Implements senf::log::TimeSource.

Definition at line 151 of file Scheduler.cc.


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