Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/ProfileData/
DSampleProfTest.cpp245 ASSERT_EQ(7711u, ReadFooSamples->getTotalSamples()); in testRoundTrip()
255 ASSERT_EQ(502u, ReadGooSamples->getTotalSamples()); in testRoundTrip()
273 ASSERT_EQ(317u, ReadHooSamples->getTotalSamples()); in testRoundTrip()
280 ASSERT_EQ(20301u, ReadBarSamples->getTotalSamples()); in testRoundTrip()
296 ASSERT_EQ(12557u, ReadBazSamples->getTotalSamples()); in testRoundTrip()
302 ASSERT_EQ(1232u, ReadBooSamples->getTotalSamples()); in testRoundTrip()
392 Esamples = Samples->getTotalSamples(); in testSuffixElisionPolicy()
446 ASSERT_EQ(FooSamples.getTotalSamples(), Max); in TEST_F()
/external/llvm/unittests/ProfileData/
DSampleProfTest.cpp107 ASSERT_EQ(7711u, ReadFooSamples.getTotalSamples()); in testRoundTrip()
111 ASSERT_EQ(20301u, ReadBarSamples.getTotalSamples()); in testRoundTrip()
190 ASSERT_EQ(FooSamples.getTotalSamples(), Max); in TEST_F()
/external/llvm-project/llvm/lib/ProfileData/
DSampleProfWriter.cpp53 if (A.second->getTotalSamples() == B.second->getTotalSamples()) in writeFuncProfiles()
55 return A.second->getTotalSamples() > B.second->getTotalSamples(); in writeFuncProfiles()
282 OS << "[" << S.getNameWithContext() << "]:" << S.getTotalSamples(); in writeSample()
284 OS << S.getName() << ":" << S.getTotalSamples(); in writeSample()
545 encodeULEB128(S.getTotalSamples(), OS); in writeBody()
DSampleProf.cpp241 if (NameFS.second.getTotalSamples() >= MaxTotalSamples) { in findFunctionSamplesAt()
242 MaxTotalSamples = NameFS.second.getTotalSamples(); in findFunctionSamplesAt()
DSampleProfReader.cpp1230 if (FProfile->getTotalSamples() > 0) in readOneFunctionProfile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfWriter.cpp53 if (A.second->getTotalSamples() == B.second->getTotalSamples()) in writeFuncProfiles()
55 return A.second->getTotalSamples() > B.second->getTotalSamples(); in writeFuncProfiles()
233 OS << S.getName() << ":" << S.getTotalSamples(); in writeSample()
502 encodeULEB128(S.getTotalSamples(), OS); in writeBody()
DSampleProfReader.cpp1100 if (FProfile->getTotalSamples() > 0) in readOneFunctionProfile()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DSampleProf.h397 if (NameFS.second.getTotalSamples() >= MaxTotalSamples) {
398 MaxTotalSamples = NameFS.second.getTotalSamples();
407 uint64_t getTotalSamples() const { return TotalSamples; }
449 MergeResult(Result, addTotalSamples(Other.getTotalSamples(), Weight));
/external/llvm/lib/ProfileData/
DSampleProfWriter.cpp42 OS << S.getName() << ":" << S.getTotalSamples(); in write()
161 encodeULEB128(S.getTotalSamples(), OS); in writeBody()
DSampleProfReader.cpp618 if (FProfile->getTotalSamples() > 0) in readOneFunctionProfile()
/external/llvm/include/llvm/ProfileData/
DSampleProf.h243 uint64_t getTotalSamples() const { return TotalSamples; }
262 MergeResult(Result, addTotalSamples(Other.getTotalSamples(), Weight));
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp284 uint64_t ParentTotalSamples = CallerFS->getTotalSamples(); in callsiteIsHot()
288 uint64_t CallsiteTotalSamples = CallsiteFS->getTotalSamples(); in callsiteIsHot()
644 uint64_t NumSamples = findCalleeFunctionSamples(*CI)->getTotalSamples(); in inlineHotFunctions()
1227 TotalCollectedSamples += I.second.getTotalSamples(); in runOnModule()
/external/exoplayer/tree/extensions/flac/src/main/jni/include/
Dflac_parser.h57 FLAC__uint64 getTotalSamples() const { return mStreamInfo.total_samples; } in getTotalSamples() function
/external/llvm-project/llvm/include/llvm/ProfileData/
DSampleProf.h583 uint64_t getTotalSamples() const { return TotalSamples; }
644 MergeResult(Result, addTotalSamples(Other.getTotalSamples(), Weight));
/external/llvm-project/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp562 Result.addTotalSamples(Samples.getTotalSamples()); in remapSamples()
2277 ProfileTotalSample += FuncProf.getTotalSamples(); in showHotFunctionList()
2281 HotFunc.emplace(FuncProf.getTotalSamples(), in showHotFunctionList()
2283 HotFuncSample += FuncProf.getTotalSamples(); in showHotFunctionList()
2298 ? (Func.getTotalSamples() * 100.0) / ProfileTotalSample in showHotFunctionList()
2301 HotFuncInfo(Func.getName(), Func.getTotalSamples(), TotalSamplePercent, in showHotFunctionList()
/external/exoplayer/tree/extensions/flac/src/main/jni/
Dflac_parser.cc428 int64_t totalSamples = getTotalSamples(); in getSeekPositions()
/external/oss-fuzz/projects/flac/
Dfuzzer_exo.cpp392 int64_t totalSamples = getTotalSamples(); in getSeekPositions()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp535 uint64_t CallsiteTotalSamples = CallsiteFS->getTotalSamples(); in callsiteIsHot()
1094 if (FS->getTotalSamples() == 0 && FS->getEntrySamples() == 0) { in inlineHotFunctions()
1853 TotalCollectedSamples += I.second.getTotalSamples(); in runOnModule()
/external/llvm-project/llvm/lib/Transforms/IPO/
DSampleProfile.cpp565 uint64_t CallsiteTotalSamples = CallsiteFS->getTotalSamples(); in callsiteIsHot()
1149 if (FS->getTotalSamples() == 0 && FS->getEntrySamples() == 0) { in inlineHotFunctions()
1940 TotalCollectedSamples += I.second.getTotalSamples(); in runOnModule()