// $Id$
//
-// Copyright (C) 2006
+// Copyright (C) 2006
// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
terminate_ = true;
}
+prefix_ senf::Scheduler::sched_time senf::Scheduler::now()
+ const
+{
+ boost::posix_time::time_duration delta (
+ boost::posix_time::microsec_clock::universal_time() - epoch_);
+ return sched_time( delta.ticks() )
+ * sched_time( 1000000000UL / boost::posix_time::time_duration::ticks_per_second() );
+}
+
prefix_ int senf::retrieve_filehandle(int fd)
{
return fd;
\f
// Local Variables:
// mode: c++
+// fill-column: 100
// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: