acrn-hypervisor/tools
Kaige Fu 18d44cc928 tools: acrnalyze: Make the result easier to read
Originally, we don't format the output of analyser well. It is hard to read the
result.

This patch make every entry of the result align with the corresponding title to
make it easier for users to read.

Without patch:
Event                    NR_Exit         NR_Exit/Sec     Time Consumed(cycles)       Time Percentage
VMEXIT_INTERRUPT_WINDOW         78090   130.15  40      0.01
VMEXIT_CR_ACCESS        0       0.00    0       0.00
VMEXIT_APICV_ACCESS     0       0.00    0       0.00
VMEXIT_EXCEPTION_OR_NMI         0       0.00    0       0.00
VMEXIT_RDTSC    0       0.00    0       0.00

...

Vector          Count   NR_Exit/Sec
0x000000f0       82337  137.23
0x000000ef       247713         412.85

With patch:
Event                           NR_Exit         NR_Exit/Sec     Time Consumed(cycles)           Time percentage
VMEXIT_APICV_WRITE              13352           22.25           14331304                        0.00
VMEXIT_WRMSR                    309085          515.14          241166212                       0.02
VMEXIT_INTERRUPT_WINDOW         78090           130.15          76841734                        0.01

...

Vector          Count           NR_Exit/Sec
0x000000f0      82337           137.23
0x000000ef      247713          412.85

Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Acked-by: Yan, Like <like.yan@intel.com>
2018-08-15 10:59:31 +08:00
..
acrn-crashlog tools:acrn-crashlog: Enhance some functions 2018-08-09 14:48:36 +08:00
acrn-manager misc: Remove unnecessary ExecStop in systemd services 2018-08-09 08:58:12 +08:00
acrnbridge acrn-bridge: improve systemd network units 2018-07-09 11:49:30 +08:00
acrnlog tools: acrnlog: Add [-t interval] [-h] to usage 2018-08-14 10:01:18 +08:00
acrntrace tools: acrnalyze: Make the result easier to read 2018-08-15 10:59:31 +08:00
Makefile add acrnbridge-install to Makefile install target 2018-06-20 11:27:24 +08:00