diff options
| author | Mahmoud Mandour <ma.mandourr@gmail.com> | 2021-08-03 17:13:00 +0200 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2021-09-02 11:29:34 +0100 |
| commit | c79a2116af6ad5a923e1bf127a78e8089e315021 (patch) | |
| tree | c216f61652c1c1e12436ea367365865f86a71736 /plugins/api.c | |
| parent | b906acace2d4f68b6ff8de73739a773cc4851436 (diff) | |
| download | focaccia-qemu-c79a2116af6ad5a923e1bf127a78e8089e315021.tar.gz focaccia-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/api.c')
0 files changed, 0 insertions, 0 deletions