HomeSort by: relevance | last modified time | path
    Searched refs:Counter (Results 1 - 25 of 86) sorted by relevancy

1 2 3 4

  /src/external/bsd/wpa/dist/src/eapol_auth/
eapol_auth_sm_i.h 21 typedef unsigned int Counter;
80 Counter authEntersConnecting;
81 Counter authEapLogoffsWhileConnecting;
82 Counter authEntersAuthenticating;
83 Counter authAuthSuccessesWhileAuthenticating;
84 Counter authAuthTimeoutsWhileAuthenticating;
85 Counter authAuthFailWhileAuthenticating;
86 Counter authAuthEapStartsWhileAuthenticating;
87 Counter authAuthEapLogoffWhileAuthenticating;
88 Counter authAuthReauthsWhileAuthenticated
    [all...]
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
user_counters_thousands_test.cc 17 bm::Counter(1000 * 1000, bm::Counter::kDefaults)},
18 {"t1_1000000Base1000", bm::Counter(1000 * 1000, bm::Counter::kDefaults,
19 benchmark::Counter::OneK::kIs1000)},
20 {"t2_1000000Base1024", bm::Counter(1000 * 1000, bm::Counter::kDefaults,
21 benchmark::Counter::OneK::kIs1024)},
22 {"t3_1048576Base1000", bm::Counter(1024 * 1024, bm::Counter::kDefaults
    [all...]
user_counters_test.cc 110 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate};
111 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate};
181 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads};
182 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads};
218 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}
    [all...]
user_counters_tabular_test.cc 63 {"Foo", {1, bm::Counter::kAvgThreads}},
64 {"Bar", {2, bm::Counter::kAvgThreads}},
65 {"Baz", {4, bm::Counter::kAvgThreads}},
66 {"Bat", {8, bm::Counter::kAvgThreads}},
67 {"Frob", {16, bm::Counter::kAvgThreads}},
68 {"Lob", {32, bm::Counter::kAvgThreads}},
110 {"Foo", {1, bm::Counter::kAvgThreadsRate}},
111 {"Bar", {2, bm::Counter::kAvgThreadsRate}},
112 {"Baz", {4, bm::Counter::kAvgThreadsRate}},
113 {"Bat", {8, bm::Counter::kAvgThreadsRate}}
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
PerfHelper.cpp 74 // on Sandybridge but 8 on Haswell) so we report the missing counter without
97 Counter::Counter(PerfEvent &&E) : Event(std::move(E)){
114 Counter::~Counter() { close(FileDescriptor); }
116 void Counter::start() { ioctl(FileDescriptor, PERF_EVENT_IOC_RESET, 0); }
118 void Counter::stop() { ioctl(FileDescriptor, PERF_EVENT_IOC_DISABLE, 0); }
120 int64_t Counter::read() const {
125 errs() << "Counter has no reading\n";
132 Counter::readOrError(StringRef /*unused*/) const
    [all...]
PerfHelper.h 71 class Counter {
74 explicit Counter(PerfEvent &&event);
76 Counter(const Counter &) = delete;
77 Counter(Counter &&other) = default;
79 virtual ~Counter();
87 /// Returns the current value of the counter or -1 if it cannot be read.
90 /// Returns the current value of the counter or error if it cannot be read.
UopsBenchmarkRunner.cpp 26 if (!IssueCounter->Counter)
28 auto ExpectedCounterValue = Executor.runAndMeasure(IssueCounter->Counter);
BenchmarkRunner.cpp 82 pfm::Counter *Counter = CounterOrError.get().get();
84 Reserved = Counter->numValues();
86 } else if (Reserved != Counter->numValues())
89 llvm::Twine("Inconsistent number of values for counter ")
91 .concat(std::to_string(Counter->numValues()))
99 const bool Crashed = !CRC.RunSafely([this, Counter, ScratchPtr]() {
100 Counter->start();
102 Counter->stop();
121 auto ValueOrError = Counter->readOrError(Function.getFunctionBytes())
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/test/
user_counters_tabular_test.cc 61 {"Foo", { 1, bm::Counter::kAvgThreads}},
62 {"Bar", { 2, bm::Counter::kAvgThreads}},
63 {"Baz", { 4, bm::Counter::kAvgThreads}},
64 {"Bat", { 8, bm::Counter::kAvgThreads}},
65 {"Frob", {16, bm::Counter::kAvgThreads}},
66 {"Lob", {32, bm::Counter::kAvgThreads}},
105 {"Foo", { 1, bm::Counter::kAvgThreadsRate}},
106 {"Bar", { 2, bm::Counter::kAvgThreadsRate}},
107 {"Baz", { 4, bm::Counter::kAvgThreadsRate}},
108 {"Bat", { 8, bm::Counter::kAvgThreadsRate}}
    [all...]
user_counters_test.cc 98 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate};
99 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate};
159 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads};
160 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads};
190 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}
    [all...]
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
counter.cc 15 #include "counter.h"
20 double Finish(Counter const& c, int64_t iterations, double cpu_time,
23 if (c.flags & Counter::kIsRate) {
26 if (c.flags & Counter::kAvgThreads) {
29 if (c.flags & Counter::kIsIterationInvariant) {
32 if (c.flags & Counter::kAvgIterations) {
  /src/sys/external/bsd/gnu-efi/dist/apps/
drv0.c 102 UINTN Counter;
117 InternalGnuEfiAppsDrv0ProtocolData.Counter ++;
132 *NumberOfHello = InternalGnuEfiAppsDrv0ProtocolData.Counter;
164 InternalGnuEfiAppsDrv0ProtocolData.Counter = 0;
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
CoverageMappingWriter.cpp 93 void mark(Counter C) {
102 void gatherUsed(Counter C) {
114 /// Adjust the given counter to correctly transition from the old
116 Counter adjust(Counter C) const {
118 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]);
125 /// Encode the counter.
129 /// Counter::Zero(0) - A Counter with kind Counter::Zer
    [all...]
CoverageMapping.cpp 47 Counter CounterExpressionBuilder::get(const CounterExpression &E) {
50 return Counter::getExpression(It->second);
54 return Counter::getExpression(I);
57 void CounterExpressionBuilder::extractTerms(Counter C, int Factor,
60 case Counter::Zero:
62 case Counter::CounterValueReference:
65 case Counter::Expression:
74 Counter CounterExpressionBuilder::simplify(Counter ExpressionTree) {
82 return Counter::getZero()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
DebugCounter.cpp 10 // can pretty print the list of debug counter options. This type of
47 "debug-counter", cl::Hidden,
48 cl::desc("Comma separated list of debug counter skip and count"),
52 "print-debug-counter", cl::Hidden, cl::init(false), cl::Optional,
53 cl::desc("Print out debug counter info after all counters accumulated"));
66 // debug-counter option defined above.
70 // The strings should come in as counter=value
76 // Now we have counter=value.
85 // add it to the counter values.
91 << " is not a registered counter\n"
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CoverageMappingGen.cpp 93 /// A region of source code that can be mapped to a counter.
95 /// Primary Counter that is also used for Branch Regions for "True" branches.
96 Counter Count;
98 /// Secondary Counter used for Branch Regions for "False" branches.
99 Optional<Counter> FalseCount;
112 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart,
117 SourceMappingRegion(Counter Count, Optional<Counter> FalseCount,
123 const Counter &getCounter() const { return Count; }
125 const Counter &getFalseCounter() const
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
counter.cc 15 #include "counter.h"
20 double Finish(Counter const& c, double cpu_time, double num_threads) {
22 if (c.flags & Counter::kIsRate) {
25 if (c.flags & Counter::kAvgThreads) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/
CoverageMapping.h 90 /// A Counter is an abstract value that describes how to compute the
92 struct Counter {
105 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {}
108 Counter() = default;
120 friend bool operator==(const Counter &LHS, const Counter &RHS) {
124 friend bool operator!=(const Counter &LHS, const Counter &RHS) {
128 friend bool operator<(const Counter &LHS, const Counter &RHS)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerTracePC.h 151 uint8_t Counter;
186 std::unordered_map<uintptr_t, uintptr_t> ObservedFuncs; // PC => Counter.
224 // Given a non-zero Counter returns a number in the range [0,7].
226 unsigned CounterToFeature(T Counter) {
230 // Counter bucket: [1] [2] [3] [4-7] [8-15] [16-31] [32-127] [128+]
238 assert(Counter);
240 /**/ if (Counter >= 128) Bit = 7;
241 else if (Counter >= 32) Bit = 6;
242 else if (Counter >= 16) Bit = 5;
243 else if (Counter >= 8) Bit = 4
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/X86/
X86Counter.h 10 /// Perf counter that reads the LBRs for measuring the benchmarked block's
34 class X86LbrCounter : public pfm::Counter {
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
CallingConvEmitter.cpp 32 unsigned Counter;
70 Counter = 0;
131 O << IndentStr << "static const MCPhysReg RegList" << ++Counter
139 << Counter << ")) {\n";
158 unsigned RegListNumber = ++Counter;
159 unsigned ShadowRegListNumber = ++Counter;
189 O << IndentStr << "unsigned Offset" << ++Counter
208 << Counter << ", LocVT, LocInfo));\n";
215 unsigned ShadowRegListNumber = ++Counter;
225 O << IndentStr << "unsigned Offset" << ++Counter
    [all...]
  /src/external/gpl3/gcc/dist/contrib/
jit-coverage-report.py 14 from collections import Counter
51 uses = Counter()
  /src/external/gpl3/gcc.old/dist/contrib/
jit-coverage-report.py 14 from collections import Counter
51 uses = Counter()
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
segmented_array_test.cc 215 auto Counter = Max;
220 EXPECT_EQ(TopNode, &Dummy) << "Counter = " << Counter;
222 --Counter;
223 ASSERT_EQ(Data.size(), size_t(Counter));
252 auto Counter = Max;
257 EXPECT_EQ(TopNode, &Dummy) << "Counter = " << Counter;
259 --Counter;
260 ASSERT_EQ(Data->size(), size_t(Counter));
    [all...]
buffer_queue_test.cc 173 std::atomic<int> Counter{0};
186 Counter.fetch_add(1, std::memory_order_acq_rel);
193 Counter.fetch_sub(1, std::memory_order_acq_rel);
202 Counter.fetch_add(1, std::memory_order_acq_rel);
208 Counter.fetch_sub(1, std::memory_order_acq_rel);
214 // Spin until we find the counter is up to 2.
215 while (Counter.load(std::memory_order_acquire) != 2)
221 // Spin until we find the counter is down to 0.
222 while (Counter.load(std::memory_order_acquire) != 0)
231 ASSERT_EQ(Counter.load(std::memory_order_acquire), 0)
    [all...]

Completed in 59 milliseconds

1 2 3 4