aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-09-06 16:47:13 +0200
committerAurelien Jarno <aurelien@aurel32.net>2012-09-11 18:05:52 +0200
commitc5cc28ff8feac21b502d64453c9491ff38f5d62d (patch)
treef78e8426b8c157e1c4246ecc9b1cf935978ae2a7 /tcg/tcg.h
parent4b1c11fd20e8901f04a2d9c225cd10fc05a762ff (diff)
tcg: improve profiler
Now that there are two passes of optimization (optimize.c, liveness) there is no point of outputing the statistics of the liveness part only. Update the code to take into account both optimizations. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index d710694e0a..7a72729f3a 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -382,6 +382,7 @@ struct TCGContext {
int64_t interm_time;
int64_t code_time;
int64_t la_time;
+ int64_t opt_time;
int64_t restore_count;
int64_t restore_time;
#endif