Commit 6a5bd307023ac14089cbcc9e26790f8747f96af9
1 parent
ee5605e5
The profiler need qemu-timer.h
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3770 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
0 deletions
monitor.c
@@ -36,6 +36,10 @@ | @@ -36,6 +36,10 @@ | ||
36 | #include "disas.h" | 36 | #include "disas.h" |
37 | #include <dirent.h> | 37 | #include <dirent.h> |
38 | 38 | ||
39 | +#ifdef CONFIG_PROFILER | ||
40 | +#include "qemu-timer.h" /* for ticks_per_sec */ | ||
41 | +#endif | ||
42 | + | ||
39 | //#define DEBUG | 43 | //#define DEBUG |
40 | //#define DEBUG_COMPLETION | 44 | //#define DEBUG_COMPLETION |
41 | 45 |