[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/1] scripts/performance: Add dissect.py script
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 1/1] scripts/performance: Add dissect.py script |
Date: |
Thu, 9 Jul 2020 17:11:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 7/9/20 7:20 AM, Ahmed Karaman wrote:
> Python script that dissects QEMU execution into three main phases:
> code generation, JIT execution and helpers execution.
>
> Syntax:
> dissect.py [-h] -- <qemu executable> [<qemu executable options>] \
> <target executable> [<target executable options>]
>
> [-h] - Print the script arguments help message.
>
> Example of usage:
> dissect.py -- qemu-arm coulomb_double-arm
>
> Example output:
> Total Instructions: 4,702,865,362
>
> Code Generation: 115,819,309 2.463%
> JIT Execution: 1,081,980,528 23.007%
> Helpers: 3,505,065,525 74.530%
>
> Signed-off-by: Ahmed Karaman <ahmedkhaledkaraman@gmail.com>
> Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
> ---
> scripts/performance/dissect.py | 166 +++++++++++++++++++++++++++++++++
> 1 file changed, 166 insertions(+)
> create mode 100755 scripts/performance/dissect.py
Thanks for the update Ahmed!
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>