summaryrefslogtreecommitdiffstats
path: root/include/sysemu/replay.h
diff options
context:
space:
mode:
authorClaudio Fontana2020-08-31 16:18:34 +0200
committerPaolo Bonzini2020-10-05 16:41:22 +0200
commit8191d3684157884bf7e6eff0d247d7e91a1cc543 (patch)
tree2a5292952ebe51bd915d2064dd0d0feed884f711 /include/sysemu/replay.h
parentcpu-timers, icount: new modules (diff)
downloadqemu-8191d3684157884bf7e6eff0d247d7e91a1cc543.tar.gz
qemu-8191d3684157884bf7e6eff0d247d7e91a1cc543.tar.xz
qemu-8191d3684157884bf7e6eff0d247d7e91a1cc543.zip
icount: rename functions to be consistent with the module name
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/replay.h')
-rw-r--r--include/sysemu/replay.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sysemu/replay.h b/include/sysemu/replay.h
index 5471bb514d..a140d69a73 100644
--- a/include/sysemu/replay.h
+++ b/include/sysemu/replay.h
@@ -109,12 +109,12 @@ int64_t replay_read_clock(ReplayClockKind kind);
#define REPLAY_CLOCK(clock, value) \
(replay_mode == REPLAY_MODE_PLAY ? replay_read_clock((clock)) \
: replay_mode == REPLAY_MODE_RECORD \
- ? replay_save_clock((clock), (value), cpu_get_icount_raw()) \
+ ? replay_save_clock((clock), (value), icount_get_raw()) \
: (value))
#define REPLAY_CLOCK_LOCKED(clock, value) \
(replay_mode == REPLAY_MODE_PLAY ? replay_read_clock((clock)) \
: replay_mode == REPLAY_MODE_RECORD \
- ? replay_save_clock((clock), (value), cpu_get_icount_raw_locked()) \
+ ? replay_save_clock((clock), (value), icount_get_raw_locked()) \
: (value))
/* Processing data from random generators */