aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorChristopher Covington <cov@codeaurora.org>2015-09-25 10:42:21 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2015-10-08 19:46:01 +0300
commit4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a (patch)
tree500057c9c76ebc2ab43681444f5f26a767f2975d /linux-user
parentec5fd402645fd4f03d89dcd5840b0e8542549e82 (diff)
downloadqemu-4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a.zip
qemu-4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a.tar.gz
qemu-4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a.tar.bz2
s/cpu_get_real_ticks/cpu_get_host_ticks/
This should help clarify the purpose of the function that returns the host system's CPU cycle count. Signed-off-by: Christopher Covington <cov@codeaurora.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> ppc portion Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 1f60ff2..d6af7ca 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -215,7 +215,7 @@ void cpu_list_unlock(void)
uint64_t cpu_get_tsc(CPUX86State *env)
{
- return cpu_get_real_ticks();
+ return cpu_get_host_ticks();
}
static void write_dt(void *ptr, unsigned long addr, unsigned long limit,
@@ -1425,7 +1425,7 @@ void cpu_loop (CPUSPARCState *env)
#ifdef TARGET_PPC
static inline uint64_t cpu_ppc_get_tb(CPUPPCState *env)
{
- return cpu_get_real_ticks();
+ return cpu_get_host_ticks();
}
uint64_t cpu_ppc_load_tbl(CPUPPCState *env)