aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-26 22:00:47 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-26 22:00:47 +0000
commite3db7226b411d767b9a3ac8e0d88f5cbd5782349 (patch)
treedbc6a91f0c538c2736a9c9d3acab3300125dd11e /monitor.c
parentd79284e07aae8d702c1d3f9d83590480fa06f5d7 (diff)
JIT statistics
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1244 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index cfb9c49755..ae1ce8792f 100644
--- a/monitor.c
+++ b/monitor.c
@@ -220,14 +220,19 @@ static void do_info_block(void)
static void do_info_registers(void)
{
#ifdef TARGET_I386
- cpu_dump_state(cpu_single_env, stdout, monitor_fprintf,
+ cpu_dump_state(cpu_single_env, NULL, monitor_fprintf,
X86_DUMP_FPU | X86_DUMP_CCOP);
#else
- cpu_dump_state(cpu_single_env, stdout, monitor_fprintf,
+ cpu_dump_state(cpu_single_env, NULL, monitor_fprintf,
0);
#endif
}
+static void do_info_jit(void)
+{
+ dump_exec_info(NULL, monitor_fprintf);
+}
+
static void do_info_history (void)
{
int i;
@@ -893,6 +898,8 @@ static term_cmd_t info_cmds[] = {
{ "mem", "", mem_info,
"", "show the active virtual memory mappings", },
#endif
+ { "jit", "", do_info_jit,
+ "", "show dynamic compiler info", },
{ NULL, NULL, },
};