mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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>
This commit is contained in:
parent
ec5fd40264
commit
4a7428c5a7
7 changed files with 20 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue