diff options
author | Emilio G. Cota <cota@braap.org> | 2017-07-05 19:35:06 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2017-10-24 13:53:42 -0700 |
commit | c3fac1138e13f8074168ee32a46afd6f3ff49059 (patch) | |
tree | d75702ab689a9879a0ce1de16fd42733a56c8f8b /default-configs/ppc-linux-user.mak | |
parent | df2cce2968069526553d82331ce9817eaca6b03a (diff) | |
download | qemu-c3fac1138e13f8074168ee32a46afd6f3ff49059.zip qemu-c3fac1138e13f8074168ee32a46afd6f3ff49059.tar.gz qemu-c3fac1138e13f8074168ee32a46afd6f3ff49059.tar.bz2 |
tcg: distribute profiling counters across TCGContext's
This is groundwork for supporting multiple TCG contexts.
To avoid scalability issues when profiling info is enabled, this patch
makes the profiling info counters distributed via the following changes:
1) Consolidate profile info into its own struct, TCGProfile, which
TCGContext also includes. Note that tcg_table_op_count is brought
into TCGProfile after dropping the tcg_ prefix.
2) Iterate over the TCG contexts in the system to obtain the total counts.
This change also requires updating the accessors to TCGProfile fields to
use atomic_read/set whenever there may be conflicting accesses (as defined
in C11) to them.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'default-configs/ppc-linux-user.mak')
0 files changed, 0 insertions, 0 deletions