|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v2 3/3] trace: instrument and trace tcg tb flush activity |
Date: | Tue, 15 Jul 2014 22:11:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 15/07/2014 16:16, Alex Bennée ha scritto:
> I think this is premature optimization...How do you mean? It's not really an optimization as much as an instrumentation. It should compile away to nothing if you don't have tracing enabled in your build.
I think it's not a big deal if you always enable the counting, and perhaps show them in "info jit".
Paolo
OTOH the numbers I'm seeing are very interesting in so far as the fast path could be a potential waste of code in a lot of cases.
[Prev in Thread] | Current Thread | [Next in Thread] |