HomeSort by relevance Sort by last modified time
    Searched defs:Counters (Results 1 - 9 of 9) sorted by null

  /external/v8/src/
v8-counters.cc 30 #include "v8-counters.h"
35 Counters::Counters() {
v8-counters.h 32 #include "counters.h"
253 // This file contains all the v8 counters that are in use.
254 class Counters {
304 // Sliding state window counters.
308 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
  /external/llvm/lib/Transforms/Instrumentation/
EdgeProfiling.cpp 1 //===- EdgeProfiling.cpp - Insert counters for edge profiling -------------===//
10 // This pass instruments the specified program with counters for edge profiling.
16 // number of counters inserted.
78 GlobalVariable *Counters =
88 IncrementCounterInBlock(&F->getEntryBlock(), i++, Counters);
104 IncrementCounterInBlock(BB, i++, Counters, false);
107 IncrementCounterInBlock(TI->getSuccessor(s), i++, Counters);
114 InsertProfilingInitCall(Main, "llvm_start_edge_profiling", Counters);
OptimalEdgeProfiling.cpp 1 //===- OptimalEdgeProfiling.cpp - Insert counters for opt. edge profiling -===//
10 // This pass instruments the specified program with counters for edge profiling.
112 // be calculated from other edge counters on reading the profile info back
117 GlobalVariable *Counters =
153 IncrementCounterInBlock(entry, i, Counters); ++NumEdgesInserted;
176 IncrementCounterInBlock(BB, i, Counters); ++NumEdgesInserted;
199 IncrementCounterInBlock(BB, i, Counters); ++NumEdgesInserted;
203 IncrementCounterInBlock(Succ, i, Counters); ++NumEdgesInserted;
219 Counters->setInitializer(init);
222 InsertProfilingInitCall(Main, "llvm_start_opt_edge_profiling", Counters);
    [all...]
GCOVProfiling.cpp 1 //===- GCOVProfiling.cpp - Insert edge counters for gcov profiling --------===//
111 // Produce a table of pointers to counters, by predecessor and successor
118 // Add the function to write out all our counters to the global destructor
473 GlobalVariable *Counters =
478 CountersBySP.push_back(std::make_pair(Counters, (MDNode*)SP));
491 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0,
503 Value *Counter = Builder.CreateInBoundsGEP(Counters, Idx);
518 buildEdgeLookupTable(F, Counters,
591 GlobalVariable *Counters,
616 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0
    [all...]
  /external/llvm/lib/Analysis/
ProfileDataLoaderPass.cpp 95 ArrayRef<unsigned> Counters) {
96 if (ReadCount >= Counters.size()) return;
98 unsigned weight = Counters[ReadCount];
109 ArrayRef<unsigned> Counters) {
110 if (Counters.size() == 0) return 0;
117 readEdge(ReadCount++, PB, PB.getEdge(0, &F->getEntryBlock()), Counters);
122 Counters);
175 ArrayRef<unsigned> Counters = PDL.getRawEdgeCounts();
177 unsigned ReadCount = matchEdges(M, PB, Counters);
179 if (ReadCount != Counters.size())
    [all...]
ProfileInfoLoaderPass.cpp 158 std::vector<unsigned> Counters = PIL.getRawEdgeCounts();
159 if (Counters.size() > 0) {
164 readEdge(getEdge(0,&F->getEntryBlock()), Counters);
168 readEdge(getEdge(BB,TI->getSuccessor(s)), Counters);
172 if (ReadCount != Counters.size()) {
179 Counters = PIL.getRawOptimalEdgeCounts();
180 if (Counters.size() > 0) {
185 readEdge(getEdge(0,&F->getEntryBlock()), Counters);
189 readEdge(getEdge(BB,0), Counters);
192 readEdge(getEdge(BB,TI->getSuccessor(s)), Counters);
    [all...]
  /external/chromium/net/disk_cache/
stats.h 26 enum Counters {
61 void OnEvent(Counters an_event);
62 void SetCounter(Counters counter, int64 value);
63 int64 GetCounter(Counters counter) const;
83 int GetRatio(Counters hit, Counters miss) const;
  /external/llvm/lib/Target/R600/
SIInsertWaits.cpp 31 /// \brief One variable for each of the hardware counters
40 } Counters;
42 typedef Counters RegCounters[512];
54 static const Counters WaitCounts;
57 static const Counters ZeroCounts;
60 Counters WaitedOn;
63 Counters LastIssued;
75 Counters getHwCounts(MachineInstr &MI);
89 const Counters &Counts);
95 Counters handleOperands(MachineInstr &MI)
    [all...]

Completed in 443 milliseconds