mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
accel/tcg: remove CONFIG_PROFILER
TBStats will be introduced to replace CONFIG_PROFILER totally, here remove all CONFIG_PROFILER related stuffs first. Signed-off-by: Vanderson M. do Rosario <vandersonmr2@gmail.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Fei Wu <fei2.wu@intel.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230607122411.3394702-2-fei2.wu@intel.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
ea185a557b
commit
1b65b4f54c
13 changed files with 0 additions and 375 deletions
|
@ -478,27 +478,6 @@ static inline TCGRegSet output_pref(const TCGOp *op, unsigned i)
|
|||
return i < ARRAY_SIZE(op->output_pref) ? op->output_pref[i] : 0;
|
||||
}
|
||||
|
||||
typedef struct TCGProfile {
|
||||
int64_t cpu_exec_time;
|
||||
int64_t tb_count1;
|
||||
int64_t tb_count;
|
||||
int64_t op_count; /* total insn count */
|
||||
int op_count_max; /* max insn per TB */
|
||||
int temp_count_max;
|
||||
int64_t temp_count;
|
||||
int64_t del_op_count;
|
||||
int64_t code_in_len;
|
||||
int64_t code_out_len;
|
||||
int64_t search_out_len;
|
||||
int64_t interm_time;
|
||||
int64_t code_time;
|
||||
int64_t la_time;
|
||||
int64_t opt_time;
|
||||
int64_t restore_count;
|
||||
int64_t restore_time;
|
||||
int64_t table_op_count[NB_OPS];
|
||||
} TCGProfile;
|
||||
|
||||
struct TCGContext {
|
||||
uint8_t *pool_cur, *pool_end;
|
||||
TCGPool *pool_first, *pool_current, *pool_first_large;
|
||||
|
@ -528,10 +507,6 @@ struct TCGContext {
|
|||
tcg_insn_unit *code_buf; /* pointer for start of tb */
|
||||
tcg_insn_unit *code_ptr; /* pointer for running end of tb */
|
||||
|
||||
#ifdef CONFIG_PROFILER
|
||||
TCGProfile prof;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_TCG
|
||||
int goto_tb_issue_mask;
|
||||
const TCGOpcode *vecop_list;
|
||||
|
@ -871,7 +846,6 @@ static inline TCGv_ptr tcg_temp_new_ptr(void)
|
|||
return temp_tcgv_ptr(t);
|
||||
}
|
||||
|
||||
int64_t tcg_cpu_exec_time(void);
|
||||
void tcg_dump_info(GString *buf);
|
||||
void tcg_dump_op_count(GString *buf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue