HomeSort by relevance Sort by last modified time
    Searched refs:Counter (Results 26 - 50 of 450) sorted by null

12 3 4 5 6 7 8 91011>>

  /device/linaro/bootloader/edk2/StdLib/LibC/Containers/Common/
ModuloUtil.c 23 /** Counter = (Counter + 1) % MaxVal;
25 Counter is always expected to be LESS THAN MaxVal.
26 0 <= Counter < MaxVal
28 @param[in] Counter The value to be incremented.
31 @return Returns the result of incrementing Counter, modulus MaxVal.
32 If Counter >= MaxVal, returns -1.
37 UINT32 Counter,
43 if(Counter < MaxVal) {
44 Temp = (INT32)(Counter + 1);
    [all...]
  /external/protobuf/gtest/samples/
sample4_unittest.cc 36 TEST(Counter, Increment) {
37 Counter c;
  /frameworks/av/drm/libmediadrm/protos/
metrics.proto 28 // Attributes are associated with a recorded value. E.g. A counter may
45 // The Counter message is used to store a count value with an associated
47 message Counter {
49 // Represents the attributes associated with this counter instance.
76 repeated Counter open_session_counter = 1;
80 repeated Counter close_session_counter = 2;
89 repeated Counter get_provisioning_request_counter = 5;
92 repeated Counter provide_provisioning_response_counter = 6;
95 repeated Counter key_status_change_counter = 7;
98 repeated Counter event_callback_counter = 8
    [all...]
  /device/linaro/bootloader/edk2/StdLib/Include/Containers/
ModuloUtil.h 25 /** Counter = (Counter + 1) % MaxVal;
27 Counter is always expected to be LESS THAN MaxVal.
28 0 <= Counter < MaxVal
30 @param[in] Counter The value to be incremented.
33 @return Returns the result of incrementing Counter, modulus MaxVal.
34 If Counter >= MaxVal, returns -1.
39 UINT32 Counter,
43 /** Counter = (Counter - 1) % MaxVal;
    [all...]
  /external/v8/src/arm64/
instrument-arm64.cc 10 Counter::Counter(const char* name, CounterType type)
17 void Counter::Enable() {
22 void Counter::Disable() {
27 bool Counter::IsEnabled() {
32 void Counter::Increment() {
39 uint64_t Counter::count() {
42 // If the counter is a Gauge, reset the count after reading.
49 const char* Counter::name() {
54 CounterType Counter::type()
118 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local
145 static Counter* counter = GetCounter("Instruction"); local
191 static Counter* counter = GetCounter("Instruction"); local
235 static Counter* counter = GetCounter("PC Addressing"); local
257 static Counter* counter = GetCounter("Logical DP"); local
264 static Counter* counter = GetCounter("Move Immediate"); local
277 static Counter* counter = GetCounter("Other Int DP"); local
284 static Counter* counter = GetCounter("Other Int DP"); local
291 static Counter* counter = GetCounter("Unconditional Branch"); local
298 static Counter* counter = GetCounter("Unconditional Branch"); local
305 static Counter* counter = GetCounter("Compare and Branch"); local
312 static Counter* counter = GetCounter("Test and Branch"); local
319 static Counter* counter = GetCounter("Conditional Branch"); local
326 static Counter* counter = GetCounter("Other"); local
333 static Counter* counter = GetCounter("Other"); local
369 static Counter* counter = GetCounter("Load Literal"); local
460 static Counter* counter = GetCounter("Logical DP"); local
467 static Counter* counter = GetCounter("Add\/Sub DP"); local
489 static Counter* counter = GetCounter("Add\/Sub DP"); local
496 static Counter* counter = GetCounter("Conditional Compare"); local
503 static Counter* counter = GetCounter("Conditional Compare"); local
510 static Counter* counter = GetCounter("Conditional Select"); local
517 static Counter* counter = GetCounter("Other Int DP"); local
524 static Counter* counter = GetCounter("Other Int DP"); local
531 static Counter* counter = GetCounter("Other Int DP"); local
538 static Counter* counter = GetCounter("FP DP"); local
545 static Counter* counter = GetCounter("Conditional Compare"); local
552 static Counter* counter = GetCounter("Conditional Select"); local
559 static Counter* counter = GetCounter("FP DP"); local
566 static Counter* counter = GetCounter("FP DP"); local
573 static Counter* counter = GetCounter("FP DP"); local
580 static Counter* counter = GetCounter("FP DP"); local
587 static Counter* counter = GetCounter("FP DP"); local
594 static Counter* counter = GetCounter("FP DP"); local
601 static Counter* counter = GetCounter("Other"); local
608 static Counter* counter = GetCounter("Other"); local
    [all...]
  /external/vixl/src/aarch64/
instrument-aarch64.cc 32 Counter::Counter(const char* name, CounterType type)
39 void Counter::Enable() { enabled_ = true; }
42 void Counter::Disable() { enabled_ = false; }
45 bool Counter::IsEnabled() { return enabled_; }
48 void Counter::Increment() {
55 uint64_t Counter::GetCount() {
58 // If the counter is a Gauge, reset the count after reading.
65 const char* Counter::GetName() { return name_; }
68 CounterType Counter::GetType() { return type_;
130 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local
157 static Counter* counter = GetCounter("Instruction"); local
209 static Counter* counter = GetCounter("Instruction"); local
257 static Counter* counter = GetCounter("PC Addressing"); local
265 static Counter* counter = GetCounter("Add\/Sub DP"); local
273 static Counter* counter = GetCounter("Logical DP"); local
280 static Counter* counter = GetCounter("Move Immediate"); local
294 static Counter* counter = GetCounter("Other Int DP"); local
302 static Counter* counter = GetCounter("Other Int DP"); local
310 static Counter* counter = GetCounter("Unconditional Branch"); local
318 static Counter* counter = GetCounter("Unconditional Branch"); local
326 static Counter* counter = GetCounter("Compare and Branch"); local
334 static Counter* counter = GetCounter("Test and Branch"); local
342 static Counter* counter = GetCounter("Conditional Branch"); local
350 static Counter* counter = GetCounter("Other"); local
358 static Counter* counter = GetCounter("Other"); local
402 static Counter* counter = GetCounter("Other"); local
410 static Counter* counter = GetCounter("Load Literal"); local
489 static Counter* counter = GetCounter("Logical DP"); local
497 static Counter* counter = GetCounter("Add\/Sub DP"); local
505 static Counter* counter = GetCounter("Add\/Sub DP"); local
513 static Counter* counter = GetCounter("Add\/Sub DP"); local
521 static Counter* counter = GetCounter("Conditional Compare"); local
529 static Counter* counter = GetCounter("Conditional Compare"); local
537 static Counter* counter = GetCounter("Conditional Select"); local
545 static Counter* counter = GetCounter("Other Int DP"); local
553 static Counter* counter = GetCounter("Other Int DP"); local
561 static Counter* counter = GetCounter("Other Int DP"); local
569 static Counter* counter = GetCounter("FP DP"); local
577 static Counter* counter = GetCounter("Conditional Compare"); local
585 static Counter* counter = GetCounter("Conditional Select"); local
593 static Counter* counter = GetCounter("FP DP"); local
601 static Counter* counter = GetCounter("FP DP"); local
609 static Counter* counter = GetCounter("FP DP"); local
617 static Counter* counter = GetCounter("FP DP"); local
625 static Counter* counter = GetCounter("FP DP"); local
633 static Counter* counter = GetCounter("FP DP"); local
641 static Counter* counter = GetCounter("Crypto"); local
649 static Counter* counter = GetCounter("Crypto"); local
657 static Counter* counter = GetCounter("Crypto"); local
665 static Counter* counter = GetCounter("NEON"); local
673 static Counter* counter = GetCounter("NEON"); local
681 static Counter* counter = GetCounter("NEON"); local
689 static Counter* counter = GetCounter("NEON"); local
697 static Counter* counter = GetCounter("NEON"); local
705 static Counter* counter = GetCounter("NEON"); local
713 static Counter* counter = GetCounter("NEON"); local
721 static Counter* counter = GetCounter("NEON"); local
730 static Counter* counter = GetCounter("NEON"); local
738 static Counter* counter = GetCounter("NEON"); local
747 static Counter* counter = GetCounter("NEON"); local
755 static Counter* counter = GetCounter("NEON"); local
763 static Counter* counter = GetCounter("NEON"); local
771 static Counter* counter = GetCounter("NEON"); local
779 static Counter* counter = GetCounter("NEON"); local
787 static Counter* counter = GetCounter("NEON"); local
795 static Counter* counter = GetCounter("NEON"); local
803 static Counter* counter = GetCounter("NEON"); local
811 static Counter* counter = GetCounter("NEON"); local
819 static Counter* counter = GetCounter("NEON"); local
827 static Counter* counter = GetCounter("NEON"); local
835 static Counter* counter = GetCounter("NEON"); local
843 static Counter* counter = GetCounter("Other"); local
851 static Counter* counter = GetCounter("Other"); local
    [all...]
  /external/swiftshader/third_party/subzero/runtime/
szrt_profiler.c 6 uint64_t Counter;
57 printf("%" PRIu64 "\t%s\n", (*curr)->Counter, (*curr)->BlockName);
  /external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/
Counter.java 22 * Session-scoped counter.
25 public class Counter {
Count.java 24 final Counter counter; field in class:Count
29 public Count(Counter counter, Service service) {
30 this.counter = counter;
39 return counter.increment();
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
RepresentIterableTest.java 43 String output = yaml.dump(new Counter(7));
49 return new Counter(10);
53 private class Counter implements Iterator<Integer> {
55 private int counter = 0; field in class:RepresentIterableTest.Counter
57 public Counter(int max) {
62 return counter < max;
66 return counter++;
  /external/javassist/sample/rmi/
Counter.java 8 public class Counter {
25 web.exportObject("counter", new Counter());
30 "Usage: java sample.rmi.Counter <port number>");
  /external/llvm/lib/ProfileData/Coverage/
CoverageMappingWriter.cpp 38 void mark(Counter C) {
47 void gatherUsed(Counter C) {
69 /// \brief Adjust the given counter to correctly transition from the old
71 Counter adjust(Counter C) const {
73 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]);
79 /// \brief Encode the counter.
83 /// Counter::Zero(0) - A Counter with kind Counter::Zer
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/
RtMemoryStatusCode.c 176 UINTN Counter;
185 for (Counter = mStatusCodeMemoryPpi.FirstEntry; Counter != mStatusCodeMemoryPpi.LastEntry; Counter++) {
189 if (Counter == MaxEntry) {
190 Counter = 0;
195 CurrentEntry = (EFI_STATUS_CODE_ENTRY *) (UINTN) (mStatusCodeMemoryPpi.Address + (Counter * sizeof (EFI_STATUS_CODE_ENTRY)));
  /external/google-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...]
  /external/libcxx/utils/google-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...]
  /external/tensorflow/tensorflow/core/lib/monitoring/
counter.h 40 // CounterCell stores each value of an Counter.
73 // Counter allocates storage and maintains a cell for each value. You can
80 class Counter {
82 ~Counter() {
90 // auto* counter_with_label = Counter<1>::New("/tensorflow/counter",
91 // "Tensorflow counter", "MyLabelName");
93 static Counter* New(MetricDefArgs&&... metric_def_args);
101 explicit Counter(
125 TF_DISALLOW_COPY_AND_ASSIGN(Counter);
    [all...]
  /frameworks/base/libs/hwui/tests/unit/
ThreadBaseTests.cpp 97 struct Counter {
98 Counter(EventCount* count) : mCount(count) { mCount->construct++; }
100 Counter(const Counter& other) : mCount(other.mCount) {
104 Counter(Counter&& other) : mCount(other.mCount) {
109 Counter& operator=(const Counter& other) {
115 Counter& operator=(Counter&& other)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/vet/testdata/
atomic.go 13 type Counter uint64
24 var su struct{ Counter uint64 }
25 su.Counter = atomic.AddUint64(&su.Counter, 1) // ERROR "direct assignment to atomic value"
26 z1 := atomic.AddUint64(&su.Counter, 1)
29 var sp struct{ Counter *uint64 }
30 *sp.Counter = atomic.AddUint64(sp.Counter, 1) // ERROR "direct assignment to atomic value"
31 z2 := atomic.AddUint64(sp.Counter, 1)
  /prebuilts/go/linux-x86/src/cmd/vet/testdata/
atomic.go 13 type Counter uint64
24 var su struct{ Counter uint64 }
25 su.Counter = atomic.AddUint64(&su.Counter, 1) // ERROR "direct assignment to atomic value"
26 z1 := atomic.AddUint64(&su.Counter, 1)
29 var sp struct{ Counter *uint64 }
30 *sp.Counter = atomic.AddUint64(sp.Counter, 1) // ERROR "direct assignment to atomic value"
31 z2 := atomic.AddUint64(sp.Counter, 1)
  /system/extras/simpleperf/
record_lib_interface.cpp 112 bool ReadCounters(std::vector<Counter>* counters) override;
117 bool ReadRawCounters(std::vector<Counter>* counters);
118 // Add counter b to a.
119 void AddCounter(Counter& a, const Counter& b);
120 // Sub counter b from a.
121 void SubCounter(Counter& a, const Counter& b);
126 std::vector<Counter> last_start_counters_;
129 std::vector<Counter> accumulated_counters_
161 Counter counter; local
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ProfileData/Coverage/
CoverageMapping.h 88 /// A Counter is an abstract value that describes how to compute the
90 struct Counter {
101 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {}
104 Counter() = default;
116 friend bool operator==(const Counter &LHS, const Counter &RHS) {
120 friend bool operator!=(const Counter &LHS, const Counter &RHS) {
124 friend bool operator<(const Counter &LHS, const Counter &RHS)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ProfileData/Coverage/
CoverageMapping.h 88 /// A Counter is an abstract value that describes how to compute the
90 struct Counter {
101 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {}
104 Counter() = default;
116 friend bool operator==(const Counter &LHS, const Counter &RHS) {
120 friend bool operator!=(const Counter &LHS, const Counter &RHS) {
124 friend bool operator<(const Counter &LHS, const Counter &RHS)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ProfileData/Coverage/
CoverageMapping.h 88 /// A Counter is an abstract value that describes how to compute the
90 struct Counter {
101 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {}
104 Counter() = default;
116 friend bool operator==(const Counter &LHS, const Counter &RHS) {
120 friend bool operator!=(const Counter &LHS, const Counter &RHS) {
124 friend bool operator<(const Counter &LHS, const Counter &RHS)
    [all...]

Completed in 2922 milliseconds

12 3 4 5 6 7 8 91011>>