Skip to content
Snippets Groups Projects
Commit ab82da87 authored by g0dil's avatar g0dil
Browse files

Scheduler: Add formatClockServiceInterval Console formatter

parent 05429a53
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,12 @@ senf::parseClockServiceInterval(console::ParseCommandInfo::TokensRange const & t
throw senf::console::SyntaxErrorException();
}
prefix_ void senf::formatClockServiceInterval(ClockService::clock_type interval,
std::ostream & os)
{
os << interval << "ns";
}
///////////////////////////////cc.e////////////////////////////////////////
#undef prefix_
//#include "ClockService.mpp"
......
......@@ -199,6 +199,8 @@ namespace senf {
*/
void parseClockServiceInterval(console::ParseCommandInfo::TokensRange const & tokens,
ClockService::clock_type & out);
void formatClockServiceInterval(ClockService::clock_type interval, std::ostream & os);
}
///////////////////////////////hh.e////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment