summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSebastian Tanase <sebastian.tanase@openwide.fr>2014-07-25 11:56:33 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-08-07 15:09:48 +0200
commit27498bef357de432a9aa403c5ccf11776773ba58 (patch)
treec947695994b52bba46d00bac299bc6e2028b35fd /include
parent7f7bc144ed653c6026ec956045224666abdec316 (diff)
downloadqemu-27498bef357de432a9aa403c5ccf11776773ba58.tar.gz
monitor: Add drift info to 'info jit'
Show in 'info jit' the current delay between the host clock and the guest clock. In addition, print the maximum advance and delay of the guest compared to the host. Signed-off-by: Sebastian Tanase <sebastian.tanase@openwide.fr> Tested-by: Camille Bégué <camille.begue@openwide.fr> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h
index 5d10ac27a1..bcf7a6ad43 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -109,6 +109,10 @@ static inline char *realpath(const char *path, char *resolved_path)
void configure_icount(QemuOpts *opts, Error **errp);
extern int use_icount;
extern int icount_align_option;
+/* drift information for info jit command */
+extern int64_t max_delay;
+extern int64_t max_advance;
+void dump_drift_info(FILE *f, fprintf_function cpu_fprintf);
#include "qemu/osdep.h"
#include "qemu/bswap.h"