|
From: | Alex Bennée |
Subject: | Re: [Qemu-devel] [PATCH 0/3] Collecting TB Execution Frequency |
Date: | Mon, 17 Jun 2019 14:13:58 +0100 |
User-agent: | mu4e 1.3.2; emacs 26.1 |
vandersonmr <address@hidden> writes: > This is the first series of patches related to the TCGCodeQuality GSoC project > More at https://wiki.qemu.org/Features/TCGCodeQuality > > It adds an option to instrument TBs and collects their execution frequency. > The execution frequency is then store/accumulated in an auxiliary structure > every time a tb_flush or a read happens. > > [Qemu-Devel][PATCH 1/3] Adding an optional tb execution counter. > [Qemu-Devel][PATCH 2/3] Saving counters between tb_flush events. > [Qemu-Devel][PATCH 3/3] Adding command line option to linux-user. One more thing: https://app.shippable.com/github/stsquad/qemu/runs/866/summary/console The use of: uint64_t exec_freq; breaks 32 bit builds as we violate ATOMIC_REG_SIZE. Maybe we can get away with uint32_t? I guess we need more of an idea of the range of these counters are likely to hit (and maybe detect overflow in the helper?). -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |