HomeSort by relevance Sort by last modified time
    Searched refs:Counts (Results 1 - 25 of 26) sorted by null

1 2

  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/StallSmmLib/
StallSmm.c 59 UINTN Counts;
82 Counts = Ticks / V_PCH_ACPI_PM1_TMR_MAX_VAL;
93 while ((Counts != 0) || (RemainingTick > CurrentTick)) {
99 Counts--;
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
Stall.c 59 UINTN Counts;
80 Counts = (UINTN)RShiftU64((UINT64)Ticks, 24);
91 while (Counts != 0) {
94 Counts--;
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/
Stall.c 58 UINTN Counts;
79 Counts = (UINTN)RShiftU64((UINT64)Ticks, 24);
90 while (Counts != 0) {
93 Counts--;
  /external/swiftshader/third_party/LLVM/tools/llvm-prof/
llvm-prof.cpp 115 OS << "\t;;; Out-edge counts:";
159 std::vector<std::pair<BasicBlock*, double> > Counts;
167 Counts.push_back(std::make_pair(BB, w));
211 for (unsigned i = 0, e = Counts.size(); i != e; ++i)
212 TotalExecutions += Counts[i].second;
215 sort(Counts.begin(), Counts.end(),
223 unsigned BlocksToPrint = Counts.size();
226 if (Counts[i].second == 0) break;
227 Function *F = Counts[i].first->getParent();
    [all...]
  /external/llvm/lib/Target/AMDGPU/
SIInsertWaits.cpp 117 const Counters &Counts);
379 Counters Counts = WaitCounts;
395 Counts.Array[i] = std::min(Value, WaitCounts.Array[i]);
398 Counts.Array[i] = 0;
401 WaitedOn.Array[i] = LastIssued.Array[i] - Counts.Array[i];
408 if (Counts.Named.EXP == 0)
413 .addImm((Counts.Named.VM & 0xF) |
414 ((Counts.Named.EXP & 0x7) << 4) |
415 ((Counts.Named.LGKM & 0xF) << 8));
441 Counters Counts, WaitOn
    [all...]
  /external/llvm/lib/ProfileData/
ProfileSummaryBuilder.cpp 27 // (which is 1000000) is a desired percentile of total counts.
41 addEntryCount(R.Counts[0]);
42 for (size_t I = 1, E = R.Counts.size(); I < E; ++I)
43 addInternalCount(R.Counts[I]);
InstrProfWriter.cpp 106 M += sizeof(uint64_t); // The size of the Counts vector
107 M += ProfRecord.Counts.size() * sizeof(uint64_t);
129 LE.write<uint64_t>(ProfRecord.Counts.size());
130 for (uint64_t I : ProfRecord.Counts)
190 if (std::any_of(IPR.Counts.begin(), IPR.Counts.end(),
302 OS << "# Num Counters:\n" << Func.Counts.size() << "\n";
304 for (uint64_t Count : Func.Counts)
InstrProfReader.cpp 232 Record.Counts.clear();
233 Record.Counts.reserve(NumCounters);
240 Record.Counts.push_back(Count);
385 Record.Counts.clear();
386 Record.Counts.reserve(RawCounts.size());
388 Record.Counts.push_back(swap(Count));
390 Record.Counts = RawCounts;
440 // Read raw counts and set Record.
696 std::vector<uint64_t> &Counts) {
701 Counts = Record.get().Counts
    [all...]
InstrProf.cpp 370 // Scale merged value counts by \p Weight.
391 if (Counts.size() != Other.Counts.size()) {
396 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) {
398 Counts[I] =
399 SaturatingMultiplyAdd(Other.Counts[I], Weight, Counts[I], &Overflowed);
417 for (auto &Count : this->Counts) {
  /external/llvm/include/llvm/Support/
TrailingObjects.h 320 /// allocated with the given counts (The counts are in the same order
324 /// that it's clear what the counts are counting in callers.
330 TrailingTys, size_t>::type... Counts) {
331 return ParentType::additionalSizeToAllocImpl(0, Counts...);
335 /// given trailing object counts. This is the same as
342 TrailingTys, size_t>::type... Counts) {
343 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...);
348 /// trailing object counts. The template arguments are similar to those
362 template <size_t... Counts> struct with_counts
    [all...]
  /external/valgrind/cachegrind/
cg_merge.c 217 ULong* counts; member in struct:__anon35430
219 Counts;
238 where innerMap is WordFM line-number=UWord Counts */
241 // Summary counts (computed whilst parsing)
243 Counts* summary;
280 static Counts* new_Counts ( Int n_counts, /*COPIED*/ULong* counts )
283 Counts* cts = malloc(sizeof(Counts));
288 cts->counts = malloc(n_counts * sizeof(ULong))
492 Counts* counts; local
    [all...]
  /external/llvm/unittests/ProfileData/
InstrProfTest.cpp 82 ASSERT_EQ(4U, I->Counts.size());
83 ASSERT_EQ(1U, I->Counts[0]);
84 ASSERT_EQ(2U, I->Counts[1]);
85 ASSERT_EQ(3U, I->Counts[2]);
86 ASSERT_EQ(4U, I->Counts[3]);
100 ASSERT_EQ(2U, R->Counts.size());
101 ASSERT_EQ(1U, R->Counts[0]);
102 ASSERT_EQ(2U, R->Counts[1]);
106 ASSERT_EQ(2U, R->Counts.size());
107 ASSERT_EQ(3U, R->Counts[0])
    [all...]
  /external/llvm/lib/ProfileData/Coverage/
CoverageMapping.cpp 191 std::vector<uint64_t> Counts;
195 Counts.clear();
197 Record.FunctionName, Record.FunctionHash, Counts)) {
204 Counts.assign(Record.MappingRegions.size(), 0);
206 Ctx.setCounts(Counts);
363 /// Combine counts of regions which cover the same area.
382 // to accumulate counts only from CodeRegions, or else the area will be
389 // We add counts of the regions of the same kind as the active region
  /external/llvm/tools/llvm-profdata/
llvm-profdata.cpp 359 assert(Func.Counts.size() > 0 && "function missing entry counter");
371 << " Counters: " << Func.Counts.size() << "\n";
373 OS << " Function count: " << Func.Counts[0] << "\n";
380 OS << " Block counts: [";
382 for (size_t I = Start, E = Func.Counts.size(); I < E; ++I) {
383 OS << (I == Start ? "" : ", ") << Func.Counts[I];
436 << " percentage of the total counts.\n";
468 cl::opt<bool> ShowCounts("counts", cl::init(false),
  /external/llvm/include/llvm/ProfileData/
InstrProf.h 564 /// Optionally scale merged counts by \p Weight.
567 /// Scale up value profile data counts.
574 InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> Counts)
575 : Name(Name), Hash(Hash), Counts(std::move(Counts)), SIPE() {}
578 std::vector<uint64_t> Counts;
600 /// Get the target value/counts of kind \p ValueKind collected at site
602 /// counts of all target values at this site.
612 /// Merge the counts in \p Other into this one.
613 /// Optionally scale merged counts by \p Weight
    [all...]
InstrProfReader.h 397 /// Fill Counts with the profile data for the given function name.
399 std::vector<uint64_t> &Counts);
401 /// Return the maximum of all known function counts.
  /external/clang/unittests/Basic/
VirtualFileSystemTest.cpp 361 int Counts[4] = { 0, 0, 0, 0 };
366 Counts[Index]++;
368 EXPECT_EQ(1, Counts[0]); // a
369 EXPECT_EQ(1, Counts[1]); // b
370 EXPECT_EQ(1, Counts[2]); // c
371 EXPECT_EQ(1, Counts[3]); // d
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64ExpandPseudoInsts.cpp 165 CountMap Counts;
169 ++Counts[getChunk(UImm, Idx)];
172 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end();
    [all...]