]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - tcg/tcg.h
tcg: distribute tcg_time into TCG contexts
[thirdparty/qemu.git] / tcg / tcg.h
index d80ef2a883d18a2e7bc2da84e2200f8049f31fed..c59f254e2742886910a561a7f073404fe5ad5a16 100644 (file)
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -629,6 +629,7 @@ typedef struct TCGOp {
 QEMU_BUILD_BUG_ON(NB_OPS > (1 << 8));
 
 typedef struct TCGProfile {
+    int64_t cpu_exec_time;
     int64_t tb_count1;
     int64_t tb_count;
     int64_t op_count; /* total insn count */
@@ -1002,6 +1003,7 @@ int tcg_check_temp_count(void);
 #define tcg_check_temp_count() 0
 #endif
 
+int64_t tcg_cpu_exec_time(void);
 void tcg_dump_info(FILE *f, fprintf_function cpu_fprintf);
 void tcg_dump_op_count(FILE *f, fprintf_function cpu_fprintf);