mirror of https://github.com/xemu-project/xemu.git
docs/tcg-plugins: new passing parameters scheme for cache docs
Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210730135817.17816-9-ma.mandourr@gmail.com>
This commit is contained in:
parent
d852535859
commit
2dd3fef8a6
|
@ -389,34 +389,34 @@ will report the following::
|
||||||
|
|
||||||
The plugin has a number of arguments, all of them are optional:
|
The plugin has a number of arguments, all of them are optional:
|
||||||
|
|
||||||
* arg="limit=N"
|
* limit=N
|
||||||
|
|
||||||
Print top N icache and dcache thrashing instructions along with their
|
Print top N icache and dcache thrashing instructions along with their
|
||||||
address, number of misses, and its disassembly. (default: 32)
|
address, number of misses, and its disassembly. (default: 32)
|
||||||
|
|
||||||
* arg="icachesize=N"
|
* icachesize=N
|
||||||
* arg="iblksize=B"
|
* iblksize=B
|
||||||
* arg="iassoc=A"
|
* iassoc=A
|
||||||
|
|
||||||
Instruction cache configuration arguments. They specify the cache size, block
|
Instruction cache configuration arguments. They specify the cache size, block
|
||||||
size, and associativity of the instruction cache, respectively.
|
size, and associativity of the instruction cache, respectively.
|
||||||
(default: N = 16384, B = 64, A = 8)
|
(default: N = 16384, B = 64, A = 8)
|
||||||
|
|
||||||
* arg="dcachesize=N"
|
* dcachesize=N
|
||||||
* arg="dblksize=B"
|
* dblksize=B
|
||||||
* arg="dassoc=A"
|
* dassoc=A
|
||||||
|
|
||||||
Data cache configuration arguments. They specify the cache size, block size,
|
Data cache configuration arguments. They specify the cache size, block size,
|
||||||
and associativity of the data cache, respectively.
|
and associativity of the data cache, respectively.
|
||||||
(default: N = 16384, B = 64, A = 8)
|
(default: N = 16384, B = 64, A = 8)
|
||||||
|
|
||||||
* arg="evict=POLICY"
|
* evict=POLICY
|
||||||
|
|
||||||
Sets the eviction policy to POLICY. Available policies are: :code:`lru`,
|
Sets the eviction policy to POLICY. Available policies are: :code:`lru`,
|
||||||
:code:`fifo`, and :code:`rand`. The plugin will use the specified policy for
|
:code:`fifo`, and :code:`rand`. The plugin will use the specified policy for
|
||||||
both instruction and data caches. (default: POLICY = :code:`lru`)
|
both instruction and data caches. (default: POLICY = :code:`lru`)
|
||||||
|
|
||||||
* arg="cores=N"
|
* cores=N
|
||||||
|
|
||||||
Sets the number of cores for which we maintain separate icache and dcache.
|
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
|
(default: for linux-user, N = 1, for full system emulation: N = cores
|
||||||
|
|
Loading…
Reference in New Issue