diff options
author | Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> | 2014-12-08 10:53:45 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-15 12:21:02 +0100 |
commit | 2a62914bd8209d97e918f30f0de74bec2bf622c4 (patch) | |
tree | d085c0d5a06f4a9ea4302178b2987a3e2f8628c5 /include | |
parent | 626cf8f4c6157ed133f0daa89b90d4169060bc97 (diff) | |
download | hqemu-2a62914bd8209d97e918f30f0de74bec2bf622c4.zip hqemu-2a62914bd8209d97e918f30f0de74bec2bf622c4.tar.gz |
icount: introduce cpu_get_icount_raw
Separate accessing the instruction counter from the compensation for
speed and halting that are introduced by qemu_icount_bias. This
introduces new infrastructure used by the record/replay patches.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/timer.h b/include/qemu/timer.h index 5f5210d..3dae414 100644 --- a/include/qemu/timer.h +++ b/include/qemu/timer.h @@ -743,6 +743,7 @@ static inline int64_t get_clock(void) #endif /* icount */ +int64_t cpu_get_icount_raw(void); int64_t cpu_get_icount(void); int64_t cpu_get_clock(void); int64_t cpu_get_clock_offset(void); |