mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 22:03:35 +08:00
113ac1d212
We are about to remove direct calls to individual accelerators for this information and will need a central point for plugins to hook into time changes. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240530220610.1245424-2-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240620152220.2192768-5-alex.bennee@linaro.org>
14 lines
225 B
C
14 lines
225 B
C
#include "qemu/osdep.h"
|
|
#include "sysemu/cpu-timers.h"
|
|
#include "qemu/main-loop.h"
|
|
|
|
int64_t cpus_get_virtual_clock(void)
|
|
{
|
|
return cpu_get_clock();
|
|
}
|
|
|
|
void cpus_set_virtual_clock(int64_t new_time)
|
|
{
|
|
/* do nothing */
|
|
}
|