mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-30 21:42:06 -06:00
qsp: add sort_by option to qsp_report
Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
fe9959a275
commit
0a22777c71
2 changed files with 34 additions and 7 deletions
|
@ -13,7 +13,13 @@
|
|||
|
||||
#include "qemu/fprintf-fn.h"
|
||||
|
||||
void qsp_report(FILE *f, fprintf_function cpu_fprintf, size_t max);
|
||||
enum QSPSortBy {
|
||||
QSP_SORT_BY_TOTAL_WAIT_TIME,
|
||||
QSP_SORT_BY_AVG_WAIT_TIME,
|
||||
};
|
||||
|
||||
void qsp_report(FILE *f, fprintf_function cpu_fprintf, size_t max,
|
||||
enum QSPSortBy sort_by);
|
||||
|
||||
bool qsp_is_enabled(void);
|
||||
void qsp_enable(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue