Home
last modified time | relevance | path

Searched refs:NumOfCachelines (Results 1 – 1 of 1) sorted by relevance

/external/compiler-rt/lib/esan/
Dworking_set.cpp220 static u32 getSizeForPrinting(u32 NumOfCachelines, const char *&Unit) { in getSizeForPrinting() argument
225 if (NumOfCachelines > 10 * MegabyteCachelines) { in getSizeForPrinting()
227 return NumOfCachelines / MegabyteCachelines; in getSizeForPrinting()
228 } else if (NumOfCachelines > 10 * KilobyteCachelines) { in getSizeForPrinting()
230 return NumOfCachelines / KilobyteCachelines; in getSizeForPrinting()
233 return NumOfCachelines * CacheLineSize; in getSizeForPrinting()
257 u32 NumOfCachelines = computeWorkingSizeAndReset(TotalWorkingSetBitIdx); in reportWorkingSet() local
258 u32 Size = getSizeForPrinting(NumOfCachelines, Unit); in reportWorkingSet()
260 SanitizerToolName, Size, Unit, NumOfCachelines); in reportWorkingSet()