summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMahmoud Mandour2021-08-03 17:13:00 +0200
committerAlex Bennée2021-09-02 12:29:34 +0200
commitc79a2116af6ad5a923e1bf127a78e8089e315021 (patch)
treec216f61652c1c1e12436ea367365865f86a71736 /plugins
parentplugins: do not limit exported symbols if modules are active (diff)
downloadqemu-c79a2116af6ad5a923e1bf127a78e8089e315021.tar.gz
qemu-c79a2116af6ad5a923e1bf127a78e8089e315021.tar.xz
qemu-c79a2116af6ad5a923e1bf127a78e8089e315021.zip
plugins/cache: supported multicore cache modelling
Multicore L1 cache modelling is introduced and is supported for both full system emulation and linux-user. For full-system emulation, L1 icache and dcache are maintained for each available core, since this information is exposed to the plugin through `qemu_plugin_n_vcpus()`. For linux-user, a static number of cores is assumed (default 1 core, and can be provided as a plugin argument `cores=N`). Every memory access goes through one of these caches, this approach is taken as it's somewhat akin to what happens on real setup, where a program that dispatches more threads than the available cores, they'll thrash each other Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com> Message-Id: <20210803151301.123581-2-ma.mandourr@gmail.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions