vbox: store the unmodified TSC in the GIP

Fixes #1548
This commit is contained in:
Christian Prochaska 2015-05-29 19:39:14 +02:00 committed by Christian Helmuth
parent 46858cf2f6
commit 55ec357d09

View File

@ -56,9 +56,7 @@ class Periodic_GIP : public Genode::Alarm {
* driver as done for base-nova currently.
*/
static uint64_t tsc_reference = Genode::Trace::timestamp();
Genode::uint64_t tsc_current = Genode::Trace::timestamp() - tsc_reference;
Genode::uint64_t tsc_current = Genode::Trace::timestamp();
/*
* Convert tsc to nanoseconds.