Utils/Termlib: Extend the completion API
[senf.git] / Scheduler / ClockService.cc
index 7bba90d..7754f4c 100644 (file)
@@ -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"