/*********************************************************
- * Copyright (C) 2008-2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 2008-2022 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
int64 before;
int64 after;
- if (vmx86_debug) {
- TimeSync_GetCurrentTime(&before);
- }
+ TimeSync_GetCurrentTime(&before);
/* Stepping invalidates the current slew, reset to nominal. */
TimeSyncSetSlewState(data, FALSE);
return FALSE;
}
- /*
+ /*
* Tell timetracker to stop trying to catch up, since we have corrected
- * both the guest OS error and the apparent time error.
+ * both the guest OS error and the apparent time error.
*/
bp.in.cx.halfs.low = BDOOR_CMD_STOPCATCHUP;
Backdoor(&bp);
- if (vmx86_debug) {
- TimeSync_GetCurrentTime(&after);
-
- g_debug("Time changed by %"FMT64"dus from %"FMT64"d.%06"FMT64"d -> "
- "%"FMT64"d.%06"FMT64"d\n", adjustment,
- before / US_PER_SEC, before % US_PER_SEC,
- after / US_PER_SEC, after % US_PER_SEC);
- }
+ TimeSync_GetCurrentTime(&after);
+
+ g_debug("Time changed by %"FMT64"dus from %"FMT64"d.%06"FMT64"d -> "
+ "%"FMT64"d.%06"FMT64"d\n", adjustment,
+ before / US_PER_SEC, before % US_PER_SEC,
+ after / US_PER_SEC, after % US_PER_SEC);
return TRUE;
}