]> git.proxmox.com Git - mirror_qemu.git/blobdiff - replay/replay-time.c
qapi: Cleanup SGX related comments and restore @section-size
[mirror_qemu.git] / replay / replay-time.c
index 43357c9f2455ad7da4e83ac0654e96e53951484c..00ebcb7a493d4fa31e313b7aabff585a47405e74 100644 (file)
@@ -46,12 +46,12 @@ void replay_read_next_clock(ReplayClockKind kind)
 }
 
 /*! Reads next clock event from the input. */
-int64_t replay_read_clock(ReplayClockKind kind)
+int64_t replay_read_clock(ReplayClockKind kind, int64_t raw_icount)
 {
     int64_t ret;
     g_assert(replay_file && replay_mutex_locked());
 
-    replay_account_executed_instructions();
+    replay_advance_current_icount(raw_icount);
 
     if (replay_next_event_is(EVENT_CLOCK + kind)) {
         replay_read_next_clock(kind);