[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/6] docs/devel/tcg-plugins: added cores arg to cache plugin
From: |
Mahmoud Mandour |
Subject: |
[PATCH 5/6] docs/devel/tcg-plugins: added cores arg to cache plugin |
Date: |
Wed, 14 Jul 2021 19:21:51 +0200 |
Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
---
docs/devel/tcg-plugins.rst | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/docs/devel/tcg-plugins.rst b/docs/devel/tcg-plugins.rst
index 595b8e0ea4..370c11373f 100644
--- a/docs/devel/tcg-plugins.rst
+++ b/docs/devel/tcg-plugins.rst
@@ -330,11 +330,8 @@ configuration when a given working set is run::
will report the following::
- Data accesses: 996479, Misses: 507
- Miss rate: 0.050879%
-
- Instruction accesses: 2641737, Misses: 18617
- Miss rate: 0.704726%
+ core #, data accesses, data misses, dmiss rate, insn accesses, insn
misses, imiss rate
+ 0 996695 508 0.0510% 2642799 18617
0.7044%
address, data misses, instruction
0x424f1e (_int_malloc), 109, movq %rax, 8(%rcx)
@@ -378,3 +375,9 @@ The plugin has a number of arguments, all of them are
optional:
Sets the eviction policy to POLICY. Available policies are: :code:`lru`,
:code:`fifo`, and :code:`rand`. The plugin will use the specified policy for
both instruction and data caches. (default: POLICY = :code:`lru`)
+
+ * arg="cores=N"
+
+ Sets the number of cores for which we maintain separate icache and dcache.
+ (default: for linux-user, N = 1, for full system emulation: N = cores
+ available to guest)
--
2.25.1
[PATCH 5/6] docs/devel/tcg-plugins: added cores arg to cache plugin,
Mahmoud Mandour <=
[PATCH 4/6] plugins/cache: Supported multicore cache modelling, Mahmoud Mandour, 2021/07/14
[PATCH 2/6] plugins/cache: limited the scope of a mutex lock, Mahmoud Mandour, 2021/07/14
[PATCH 6/6] plugins/cache: Fixed "function decl. is not a prototype" warnings, Mahmoud Mandour, 2021/07/14
Re: [PATCH 0/6] plugins/cache: multicore cache emulation and minor, Alex Bennée, 2021/07/20