Home | History | Annotate | Download | only in esan

Lines Matching refs:Unit

57 // scenario, but if we switch to some other unit (such as memory accesses) we
207 static u32 getPeriodForPrinting(u32 MilliSec, const char *&Unit) {
209 Unit = "min";
212 Unit = "sec";
215 Unit = "ms";
220 static u32 getSizeForPrinting(u32 NumOfCachelines, const char *&Unit) {
226 Unit = "MB";
229 Unit = "KB";
232 Unit = "Bytes";
238 const char *Unit;
243 u32 Time = getPeriodForPrinting(getFlags()->sample_freq*Freq, Unit);
244 Report(" Samples array #%d at period %u %s\n", i, Time, Unit);
248 u32 Size = getSizeForPrinting(SizePerFreq[i][j], Unit);
249 Report("#%4d: %8u %s (%9u cache lines)\n", j, Size, Unit,
258 u32 Size = getSizeForPrinting(NumOfCachelines, Unit);
260 SanitizerToolName, Size, Unit, NumOfCachelines);