Lines Matching refs:UInt64

53 static const UInt64 kComplexInCommands = (UInt64)1 <<
60 static const UInt64 kComplexInSeconds = 4;
62 static void SetComplexCommands(UInt32 complexInSeconds, UInt64 cpuFreq, UInt64 &complexInCommands) in SetComplexCommands()
65 const UInt64 kMinFreq = (UInt64)1000000 * 30; in SetComplexCommands()
66 const UInt64 kMaxFreq = (UInt64)1000000 * 20000; in SetComplexCommands()
288 static UInt64 GetTimeCount() in GetTimeCount()
294 return (UInt64)(v.tv_sec) * 1000000 + v.tv_usec; in GetTimeCount()
295 return (UInt64)time(NULL) * 1000000; in GetTimeCount()
309 static UInt64 GetFreq() in GetFreq()
331 UInt64 Sum;
340 UInt64 GetUserTime() in GetUserTime()
351 static inline UInt64 GetTime64(const FILETIME &t) { return ((UInt64)t.dwHighDateTime << 32) | t.dwL… in GetTime64()
352 UInt64 GetWinUserTime() in GetWinUserTime()
363 return (UInt64)GetTickCount() * 10000; in GetWinUserTime()
368 UInt64 StartTime;
371 UInt64 GetUserTime() { return GetWinUserTime() - StartTime; } in GetUserTime()
376 static UInt64 GetUserFreq() in GetUserFreq()
446 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
449 STDMETHODIMP CBenchProgressInfo::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) in SetRatioInfo()
486 static void NormalizeVals(UInt64 &v1, UInt64 &v2) in NormalizeVals()
495 UInt64 CBenchInfo::GetUsage() const in GetUsage()
497 UInt64 userTime = UserTime; in GetUsage()
498 UInt64 userFreq = UserFreq; in GetUsage()
499 UInt64 globalTime = GlobalTime; in GetUsage()
500 UInt64 globalFreq = GlobalFreq; in GetUsage()
510 UInt64 CBenchInfo::GetRatingPerUsage(UInt64 rating) const in GetRatingPerUsage()
512 UInt64 userTime = UserTime; in GetRatingPerUsage()
513 UInt64 userFreq = UserFreq; in GetRatingPerUsage()
514 UInt64 globalTime = GlobalTime; in GetRatingPerUsage()
515 UInt64 globalFreq = GlobalFreq; in GetRatingPerUsage()
525 static UInt64 MyMultDiv64(UInt64 value, UInt64 elapsedTime, UInt64 freq) in MyMultDiv64()
527 UInt64 elTime = elapsedTime; in MyMultDiv64()
534 UInt64 CBenchInfo::GetSpeed(UInt64 numCommands) const in GetSpeed()
550 UInt64 GeComprCommands(UInt64 unpackSize) in GeComprCommands()
555 UInt64 GeDecomprCommands(UInt64 packSize, UInt64 unpackSize) in GeDecomprCommands()
560 UInt64 GetCompressRating(UInt32 dictSize, UInt64 elapsedTime, UInt64 freq, UInt64 size);
561UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 freq, UInt64 outSize, UInt64 inSize, UInt64
572 UInt64 CBenchProps::GetCompressRating(UInt32 dictSize, UInt64 elapsedTime, UInt64 freq, UInt64 size) in GetCompressRating()
576 UInt64 encComplex = EncComplex; in GetCompressRating()
579 UInt64 t = GetLogSize(dictSize) - (kBenchMinDicLogSize << kSubBits); in GetCompressRating()
582 UInt64 numCommands = (UInt64)size * encComplex; in GetCompressRating()
586 UInt64 CBenchProps::GetDecompressRating(UInt64 elapsedTime, UInt64 freq, UInt64 outSize, UInt64 inS… in GetDecompressRating()
588 UInt64 numCommands = (inSize * DecComplexCompr + outSize * DecComplexUnc) * numIterations; in GetDecompressRating()
592 UInt64 GetCompressRating(UInt32 dictSize, UInt64 elapsedTime, UInt64 freq, UInt64 size) in GetCompressRating()
599 UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 freq, UInt64 outSize, UInt64 inSize, UInt64 n… in GetDecompressRating()
618 UInt64 NumIterations;
783 UInt64 reduceSize = uncompressedDataSize; in Init()
848 UInt64 prev = 0; in Encode()
858 for (UInt64 i = 0; i < NumIterations; i++) in Encode()
939 UInt64 reduceSize = _uncompressedDataSize; in Decode()
960 UInt64 prev = 0; in Decode()
968 for (UInt64 i = 0; i < NumIterations; i++) in Decode()
979 UInt64 outSize = kBufferSize; in Decode()
1013 static UInt64 GetNumIterations(UInt64 numCommands, UInt64 complexInCommands) in GetNumIterations()
1017 UInt64 res = complexInCommands / numCommands; in GetNumIterations()
1023 UInt64 complexInCommands, in MethodBench()
1034 UInt64 methodId; in MethodBench()
1253 inline UInt64 GetLZMAUsage(bool multiThread, UInt32 dictionary) in GetLZMAUsage()
1265 return ((hs + (1 << 16)) + (UInt64)dictionary * 2) * 4 + (UInt64)dictionary * 3 / 2 + in GetLZMAUsage()
1269 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary) in GetBenchMemoryUsage()
1279 static HRESULT CrcBig(const void *data, UInt32 size, UInt64 numIterations, in CrcBig()
1284 UInt64 i; in CrcBig()
1337 UInt64 NumIterations;
1351 for (UInt64 k = p->NumIterations; k > 0; k--) in FreqThreadFunction()
1389 UInt64 NumIterations;
1524 UInt64 NumIterations;
1525 UInt64 Rating;
1526 UInt64 Usage;
1527 UInt64 RPU;
1538 static void PrintNumber(IBenchPrintCallback &f, UInt64 value, int size) in PrintNumber()
1572 static void PrintRating(IBenchPrintCallback &f, UInt64 rating, int size) in PrintRating()
1578 static void PrintPercents(IBenchPrintCallback &f, UInt64 val, UInt64 divider, int size) in PrintPercents()
1596 …ic void PrintResults(IBenchPrintCallback &f, UInt64 usage, UInt64 rpu, UInt64 rating, bool showFre… in PrintResults()
1607 UInt64 ddd = cpuFreq * usage / 100; in PrintResults()
1616 …ntResults(IBenchPrintCallback *f, const CBenchInfo &info, UInt64 rating, bool showFreq, UInt64 cpu… in PrintResults()
1618 UInt64 speed = info.GetSpeed(info.UnpackSize * info.NumIterations); in PrintResults()
1626 UInt64 usage = info.GetUsage(); in PrintResults()
1627 UInt64 rpu = info.GetRatingPerUsage(rating); in PrintResults()
1642 static void PrintTotals(IBenchPrintCallback &f, bool showFreq, UInt64 cpuFreq, const CTotalBenchRes… in PrintTotals()
1645 UInt64 numIterations = res.NumIterations; in PrintTotals()
1651 static void PrintRequirements(IBenchPrintCallback &f, const char *sizeString, UInt64 size, const ch… in PrintRequirements()
1674 UInt64 CpuFreq;
1682 HRESULT SetFreq(bool showFreq, UInt64 cpuFreq);
1687 HRESULT CBenchCallbackToPrint::SetFreq(bool showFreq, UInt64 cpuFreq) in SetFreq()
1699UInt64 rating = BenchProps.GetCompressRating(DictSize, info.GlobalTime, info.GlobalFreq, info.Unpa… in SetEncodeResult()
1712UInt64 rating = BenchProps.GetDecompressRating(info.GlobalTime, info.GlobalFreq, info.UnpackSize, … in SetDecodeResult()
1757 UInt64 complexInCommands, in TotalBench()
1799 UInt64 complexInCommands, in FreqBench()
1803 UInt64 &cpuFreq, in FreqBench()
1819 UInt64 numIterations = complexInCommands / complexity / bsize; in FreqBench()
1857 for (UInt64 k = numIterations; k > 0; k--) in FreqBench()
1874 UInt64 numCommands = (UInt64)numIterations * bufferSize * numThreads * complexity; in FreqBench()
1875 UInt64 rating = info.GetSpeed(numCommands); in FreqBench()
1889 UInt64 complexInCommands, in CrcBench()
1891 UInt64 &speed, in CrcBench()
1897 bool showFreq, UInt64 cpuFreq) in CrcBench()
1924 UInt64 numIterations = complexInCommands * 256 / complexity / bsize; in CrcBench()
1947 UInt64 reduceSize = 1; in CrcBench()
1991 UInt64 reduceSize = 1; in CrcBench()
1999 UInt64 unpSize = numIterations * bufferSize; in CrcBench()
2000 UInt64 unpSizeThreads = unpSize * numThreads; in CrcBench()
2008 UInt64 numCommands = unpSizeThreads * complexity / 256; in CrcBench()
2009 UInt64 rating = info.GetSpeed(numCommands); in CrcBench()
2022 UInt64 complexInCommands, in TotalBench_Hash()
2026 bool showFreq, UInt64 cpuFreq) in TotalBench_Hash()
2041 UInt64 speed; in TotalBench_Hash()
2064 UInt64 *Values;
2065 CTempValues(UInt32 num) { Values = new UInt64[num]; } in CTempValues()
2072 UInt64 result = ConvertStringToUInt64(s, &end); in ParseNumberString()
2115 UInt64 ramSize = (UInt64)512 << 20; in Bench()
2156 UInt64 complexInCommands = kComplexInCommands; in Bench()
2160 UInt64 numMilCommands = (1 << 6); in Bench()
2164 UInt64 start = ::GetTimeCount(); in Bench()
2170 UInt64 freq = GetFreq(); in Bench()
2171 UInt64 mipsVal = numMilCommands * freq / start; in Bench()
2265 UInt64 numSteps = 0; in Bench()
2285 UInt64 speed = 0; in Bench()
2343 UInt64 cpuFreq = 0; in Bench()
2411 (UInt64)1 << 20; in Bench()
2413 (UInt64)1 << 24; in Bench()
2447 UInt64 cpuFreqLastTemp = cpuFreq; in Bench()