mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Issue warning about missing L2 cache only if there are any
caches in the first place. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13058
This commit is contained in:
parent
d735bc96be
commit
8a6563f826
@ -304,7 +304,7 @@ configure_caches(cache_t *I1c, cache_t *D1c, cache_t *LLc,
|
||||
d1 = locate_cache(ci, DATA_CACHE, 1);
|
||||
ll = locate_cache(ci, UNIFIED_CACHE, ci->num_levels);
|
||||
|
||||
if (ll == NULL) {
|
||||
if (ci->num_caches > 0 && ll == NULL) {
|
||||
VG_(dmsg)("warning: L2 cache not installed, ignore LL results.\n");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user