fix us/ns handling

This commit is contained in:
Mathieu Lacage committed 2006-09-04 13:18:16 +02:00
1 parent d6048b8a61
commit 79ba177ba4
4 files changed
+33 -32

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ SimulatorPrivate::next (void) const
{
assert (!m_events->is_empty ());
Scheduler::EventKey next_key = m_events->peek_next_key ();
return AbsTimeUs (next_key.m_ns);
return Time::abs_ns (next_key.m_ns);
}