Home
last modified time | relevance | path

Searched refs:Counts (Results 1 – 25 of 128) sorted by relevance

123456

/external/catch2/include/internal/
Dcatch_totals.cpp12 Counts Counts::operator - ( Counts const& other ) const { in operator -()
13 Counts diff; in operator -()
20 Counts& Counts::operator += ( Counts const& other ) { in operator +=()
27 std::size_t Counts::total() const { in total()
30 bool Counts::allPassed() const { in allPassed()
33 bool Counts::allOk() const { in allOk()
Dcatch_totals.h15 struct Counts { struct
16 Counts operator - ( Counts const& other ) const;
17 Counts& operator += ( Counts const& other );
36 Counts assertions; argument
37 Counts testCases;
/external/perfetto/protos/perfetto/metrics/android/
Dhwcomposer.proto22 // Counts the number of composition total layers in the trace. (non-weighted average)
25 // Counts the number of composition dpu layers in the trace. (non-weighted average)
28 // Counts the number of composition gpu layers in the trace. (non-weighted average)
31 // Counts the number of composition dpu cached layers in the trace. (non-weighted average)
34 // Counts the number of composition surfaceflinger cached layers in the trace.
38 // Counts how many times validateDisplay is skipped.
41 // Counts how many times validateDisplay cannot be skipped.
44 // Counts how many times validateDisplay is already separated from presentDisplay
48 // Counts how many unhandled validation cases which might be caused by errors.
Dsurfaceflinger.proto22 // Counts the number of missed frames in the trace.
25 // Counts the number of missed HWC frames in the trace.
28 // Counts the number of missed GPU frames in the trace.
/external/llvm-project/llvm/unittests/ProfileData/
DInstrProfTest.cpp82 ASSERT_EQ(4U, I->Counts.size()); in TEST_P()
83 ASSERT_EQ(1U, I->Counts[0]); in TEST_P()
84 ASSERT_EQ(2U, I->Counts[1]); in TEST_P()
85 ASSERT_EQ(3U, I->Counts[2]); in TEST_P()
86 ASSERT_EQ(4U, I->Counts[3]); in TEST_P()
98 ASSERT_EQ(2U, R->Counts.size()); in TEST_P()
99 ASSERT_EQ(1U, R->Counts[0]); in TEST_P()
100 ASSERT_EQ(2U, R->Counts[1]); in TEST_P()
104 ASSERT_EQ(2U, R->Counts.size()); in TEST_P()
105 ASSERT_EQ(3U, R->Counts[0]); in TEST_P()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp27 MapVector<std::pair<Function *, Function *>, uint64_t> Counts; in run() local
35 uint64_t &Count = Counts[std::make_pair(F, CalledF)]; in run()
74 addModuleFlags(M, Counts); in run()
81 MapVector<std::pair<Function *, Function *>, uint64_t> &Counts) const { in addModuleFlags()
82 if (Counts.empty()) in addModuleFlags()
89 for (auto E : Counts) { in addModuleFlags()
/external/llvm/lib/Target/AMDGPU/
DSIInsertWaits.cpp117 const Counters &Counts);
379 Counters Counts = WaitCounts; in insertWait() local
395 Counts.Array[i] = std::min(Value, WaitCounts.Array[i]); in insertWait()
398 Counts.Array[i] = 0; in insertWait()
401 WaitedOn.Array[i] = LastIssued.Array[i] - Counts.Array[i]; in insertWait()
408 if (Counts.Named.EXP == 0) in insertWait()
413 .addImm((Counts.Named.VM & 0xF) | in insertWait()
414 ((Counts.Named.EXP & 0x7) << 4) | in insertWait()
415 ((Counts.Named.LGKM & 0xF) << 8)); in insertWait()
441 Counters Counts, WaitOn; in handleExistingWait() local
[all …]
/external/llvm-project/llvm/lib/Support/
DTrigramIndex.cpp72 Index[Tri].push_back(Counts.size()); in insert()
82 Counts.push_back(Cnt); in insert()
88 std::vector<unsigned> CurCounts(Counts.size()); in isDefinitelyOut()
101 if (CurCounts[J] >= Counts[J]) in isDefinitelyOut()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTrigramIndex.cpp76 Index[Tri].push_back(Counts.size()); in insert()
86 Counts.push_back(Cnt); in insert()
92 std::vector<unsigned> CurCounts(Counts.size()); in isDefinitelyOut()
105 if (CurCounts[J] >= Counts[J]) in isDefinitelyOut()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp29 MapVector<std::pair<Function *, Function *>, uint64_t> &Counts) { in addModuleFlags() argument
30 if (Counts.empty()) in addModuleFlags()
37 for (auto E : Counts) { in addModuleFlags()
52 MapVector<std::pair<Function *, Function *>, uint64_t> Counts; in runCGProfilePass() local
59 uint64_t &Count = Counts[std::make_pair(F, CalledF)]; in runCGProfilePass()
101 return addModuleFlags(M, Counts); in runCGProfilePass()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSyntheticCountsPropagation.cpp101 DenseMap<Function *, Scaled64> Counts; in run() local
104 M, [&](Function *F, uint64_t Count) { Counts[F] = Scaled64(Count, 0); }); in run()
124 BBCount *= Counts[Caller]; in run()
136 Counts[F] += New; in run()
140 for (auto Entry : Counts) { in run()
/external/llvm-project/llvm/lib/Transforms/IPO/
DSyntheticCountsPropagation.cpp100 DenseMap<Function *, Scaled64> Counts; in run() local
103 M, [&](Function *F, uint64_t Count) { Counts[F] = Scaled64(Count, 0); }); in run()
122 BBCount *= Counts[Caller]; in run()
134 Counts[F] += New; in run()
138 for (auto Entry : Counts) { in run()
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp82 ASSERT_EQ(4U, I->Counts.size()); in TEST_P()
83 ASSERT_EQ(1U, I->Counts[0]); in TEST_P()
84 ASSERT_EQ(2U, I->Counts[1]); in TEST_P()
85 ASSERT_EQ(3U, I->Counts[2]); in TEST_P()
86 ASSERT_EQ(4U, I->Counts[3]); in TEST_P()
100 ASSERT_EQ(2U, R->Counts.size()); in TEST_P()
101 ASSERT_EQ(1U, R->Counts[0]); in TEST_P()
102 ASSERT_EQ(2U, R->Counts[1]); in TEST_P()
106 ASSERT_EQ(2U, R->Counts.size()); in TEST_P()
107 ASSERT_EQ(3U, R->Counts[0]); in TEST_P()
[all …]
/external/llvm-project/llvm/unittests/FuzzMutate/
DReservoirSamplerTest.cpp37 std::vector<int> Counts(Items.size(), 0); in TEST() local
44 Counts[Sampler.getSelection()] += 1; in TEST()
51 for (int Ys : Counts) in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTrailingObjects.h332 TrailingTys, size_t>::type... Counts) { in additionalSizeToAlloc()
333 return ParentType::additionalSizeToAllocImpl(0, Counts...); in additionalSizeToAlloc()
344 TrailingTys, size_t>::type... Counts) { in totalSizeToAlloc()
345 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...); in totalSizeToAlloc()
364 template <size_t... Counts> struct with_counts {
365 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/external/llvm/include/llvm/Support/
DTrailingObjects.h330 TrailingTys, size_t>::type... Counts) {
331 return ParentType::additionalSizeToAllocImpl(0, Counts...);
342 TrailingTys, size_t>::type... Counts) {
343 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...);
362 template <size_t... Counts> struct with_counts {
363 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/external/llvm-project/llvm/include/llvm/Support/
DTrailingObjects.h331 TrailingTys, size_t>::type... Counts) { in additionalSizeToAlloc()
332 return ParentType::additionalSizeToAllocImpl(0, Counts...); in additionalSizeToAlloc()
343 TrailingTys, size_t>::type... Counts) { in totalSizeToAlloc()
344 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...); in totalSizeToAlloc()
363 template <size_t... Counts> struct with_counts {
364 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp483 Sum.NumEntries += Counts.size(); in accumulateCounts()
484 for (size_t F = 0, E = Counts.size(); F < E; ++F) in accumulateCounts()
485 FuncSum += Counts[F]; in accumulateCounts()
556 bool Mismatch = (Counts.size() != Other.Counts.size()); in overlap()
581 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) { in overlap()
582 Score += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
584 MaxCount = std::max(Other.Counts[I], MaxCount); in overlap()
591 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) in overlap()
592 FuncScore += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
596 FuncLevelOverlap.Overlap.NumEntries = Other.Counts.size(); in overlap()
[all …]
DProfileSummaryBuilder.cpp39 addEntryCount(R.Counts[0]); in addRecord()
40 for (size_t I = 1, E = R.Counts.size(); I < E; ++I) in addRecord()
41 addInternalCount(R.Counts[I]); in addRecord()
/external/llvm-project/llvm/lib/ProfileData/
DInstrProf.cpp487 Sum.NumEntries += Counts.size(); in accumulateCounts()
488 for (size_t F = 0, E = Counts.size(); F < E; ++F) in accumulateCounts()
489 FuncSum += Counts[F]; in accumulateCounts()
560 bool Mismatch = (Counts.size() != Other.Counts.size()); in overlap()
585 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) { in overlap()
586 Score += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
588 MaxCount = std::max(Other.Counts[I], MaxCount); in overlap()
595 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) in overlap()
596 FuncScore += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
600 FuncLevelOverlap.Overlap.NumEntries = Other.Counts.size(); in overlap()
[all …]
DProfileSummaryBuilder.cpp52 addEntryCount(R.Counts[0]); in addRecord()
53 for (size_t I = 1, E = R.Counts.size(); I < E; ++I) in addRecord()
54 addInternalCount(R.Counts[I]); in addRecord()
/external/llvm/lib/ProfileData/
DProfileSummaryBuilder.cpp41 addEntryCount(R.Counts[0]); in addRecord()
42 for (size_t I = 1, E = R.Counts.size(); I < E; ++I) in addRecord()
43 addInternalCount(R.Counts[I]); in addRecord()
DInstrProfWriter.cpp107 M += ProfRecord.Counts.size() * sizeof(uint64_t); in EmitKeyDataLength()
129 LE.write<uint64_t>(ProfRecord.Counts.size()); in EmitData()
130 for (uint64_t I : ProfRecord.Counts) in EmitData()
190 if (std::any_of(IPR.Counts.begin(), IPR.Counts.end(), in shouldEncodeData()
302 OS << "# Num Counters:\n" << Func.Counts.size() << "\n"; in writeRecordInText()
304 for (uint64_t Count : Func.Counts) in writeRecordInText()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProf.h686 std::vector<uint64_t> Counts; member
689 InstrProfRecord(std::vector<uint64_t> Counts) : Counts(std::move(Counts)) {} in InstrProfRecord()
692 : Counts(RHS.Counts), in InstrProfRecord()
698 Counts = RHS.Counts;
763 Counts.clear(); in Clear()
851 std::vector<uint64_t> Counts) in NamedInstrProfRecord()
852 : InstrProfRecord(std::move(Counts)), Name(Name), Hash(Hash) {} in NamedInstrProfRecord()
/external/llvm-project/llvm/include/llvm/ProfileData/
DInstrProf.h692 std::vector<uint64_t> Counts; member
695 InstrProfRecord(std::vector<uint64_t> Counts) : Counts(std::move(Counts)) {} in InstrProfRecord()
698 : Counts(RHS.Counts), in InstrProfRecord()
704 Counts = RHS.Counts;
769 Counts.clear(); in Clear()
857 std::vector<uint64_t> Counts) in NamedInstrProfRecord()
858 : InstrProfRecord(std::move(Counts)), Name(Name), Hash(Hash) {} in NamedInstrProfRecord()

123456