/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicDoubleArrayTest.java | 288 class Counter extends CheckedRunnable { 291 Counter(AtomicDoubleArray a) { aa = a; } 322 Counter c1 = new Counter(aa); 323 Counter c2 = new Counter(aa);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
AtomicIntegerArrayTest.java | 282 class Counter extends CheckedRunnable { 285 Counter(AtomicIntegerArray a) { aa = a; } 313 Counter c1 = new Counter(aa); 314 Counter c2 = new Counter(aa);
|
AtomicLongArrayTest.java | 281 class Counter extends CheckedRunnable { 284 Counter(AtomicLongArray a) { aa = a; } 312 Counter c1 = new Counter(aa); 313 Counter c2 = new Counter(aa);
|
/frameworks/av/drm/libmediadrm/ |
DrmMetrics.cpp | 64 void ExportCounterMetric(const android::CounterMetric<T> &counter, 70 std::string success_count_name = counter.metric_name() + ".ok.count"; 71 std::string error_count_name = counter.metric_name() + ".error.count"; 73 counter.ExportValues( 88 std::string error_list_name = counter.metric_name() + ".error.list"; 96 const android::CounterMetric<T> &counter, PersistableBundle *metrics) { 101 counter.ExportValues([&](const T &attribute, const int64_t value) { 102 std::string name = counter.metric_name() + "." + 268 DrmFrameworkMetrics::Counter *counter [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
MpService.c | 170 ASSERT (*mSmmMpSyncData->Counter <= mNumberOfCpus);
172 if (*mSmmMpSyncData->Counter == mNumberOfCpus) {
211 ASSERT (*mSmmMpSyncData->Counter <= mNumberOfCpus);
250 if (*mSmmMpSyncData->Counter < mNumberOfCpus) {
355 // Lock the counter down and retrieve the number of APs
358 ApCount = LockdownSemaphore (mSmmMpSyncData->Counter) - 1;
443 // Lock the counter down and retrieve the number of APs
446 ApCount = LockdownSemaphore (mSmmMpSyncData->Counter) - 1;
529 *mSmmMpSyncData->Counter = 0;
592 WaitForSemaphore (mSmmMpSyncData->Counter);
[all...] |
/external/v8/src/ |
d8.h | 25 // A single counter in a counter collection. 26 class Counter { 49 Counter* GetNextCounter(); 56 Counter counters_[kMaxCounters]; 63 Counter* Lookup(const char* name) { 67 return reinterpret_cast<Counter*>(answer->value); 69 void Set(const char* name, Counter* value) { 82 Counter* CurrentValue() { return static_cast<Counter*>(entry_->value); [all...] |
/external/v8/tools/ |
stats-viewer.py | 31 """A cross-platform execution counter viewer. 51 # Mapping from counter prefix to the formatting to be used for the counter 68 name_filter: The regexp filter to apply to counter names. 77 # A mapping from counter names to the ui element that displays 81 # The counter collection used to access the counters file 103 print "\"%s\" is neither a counter file nor a PID." % self.data_name 113 print "Can't find counter file in maps for PID %s." % self.data_name 147 counter = self.data.Counter(i [all...] |
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/ |
buffer_transport_benchmark.cpp | 516 state.counters["gain_buffer_us"] = ::benchmark::Counter( 517 total_gain_buffer_us / iterations, ::benchmark::Counter::kAvgThreads); 518 state.counters["post_buffer_us"] = ::benchmark::Counter( 519 total_post_buffer_us / iterations, ::benchmark::Counter::kAvgThreads); 520 state.counters["producer_us"] = ::benchmark::Counter( 522 ::benchmark::Counter::kAvgThreads);
|
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 110 GlobalVariable *buildEdgeLookupTable(Function *F, GlobalVariable *Counter, 626 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0, 628 Value *Count = Builder.CreateLoad(Counter); 630 Builder.CreateStore(Count, Counter); 636 Value *Counter = Builder.CreateInBoundsGEP( 638 Value *Count = Builder.CreateLoad(Counter); 640 Builder.CreateStore(Count, Counter); 669 // Build code to increment the counter. 718 // requires complex logic to pick which counter to update. 746 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0 [all...] |
/external/autotest/site_utils/ |
kill_slow_queries.py | 153 metrics.Counter(m).increment_by(count) 157 metrics.Counter(m).increment()
|
/external/google-benchmark/src/ |
console_reporter.cc | 17 #include "counter.h" 155 if (c.second.flags & Counter::kIsRate) { 161 const char* unit = (c.second.flags & Counter::kIsRate) ? "/s" : "";
|
/external/libcxx/utils/google-benchmark/src/ |
console_reporter.cc | 17 #include "counter.h" 155 if (c.second.flags & Counter::kIsRate) { 161 const char* unit = (c.second.flags & Counter::kIsRate) ? "/s" : "";
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 141 Error decodeCounter(unsigned Value, Counter &C); 142 Error readCounter(Counter &C);
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
layers_dense_variational_test.py | 36 class Counter(object): 63 self.called_log_prob = Counter() 64 self.called_sample = Counter() 65 self.called_loc = Counter() 66 self.called_scale = Counter() 97 self.called = Counter() 149 seed = Counter() 397 seed = Counter()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/ |
WakeupAlarmAnomalyDetector.java | 130 final ArrayMap<String, ? extends BatteryStats.Counter> alarms = 132 for (Map.Entry<String, ? extends BatteryStats.Counter> alarm : alarms.entrySet()) {
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 143 Error decodeCounter(unsigned Value, Counter &C); 144 Error readCounter(Counter &C);
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 143 Error decodeCounter(unsigned Value, Counter &C); 144 Error readCounter(Counter &C);
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 143 Error decodeCounter(unsigned Value, Counter &C); 144 Error readCounter(Counter &C);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 165 Error decodeCounter(unsigned Value, Counter &C); 166 Error readCounter(Counter &C);
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 165 Error decodeCounter(unsigned Value, Counter &C); 166 Error readCounter(Counter &C);
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 165 Error decodeCounter(unsigned Value, Counter &C); 166 Error readCounter(Counter &C);
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 165 Error decodeCounter(unsigned Value, Counter &C); 166 Error readCounter(Counter &C);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 143 Error decodeCounter(unsigned Value, Counter &C); 144 Error readCounter(Counter &C);
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 143 Error decodeCounter(unsigned Value, Counter &C); 144 Error readCounter(Counter &C);
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/ProfileData/Coverage/ |
CoverageMappingReader.h | 143 Error decodeCounter(unsigned Value, Counter &C); 144 Error readCounter(Counter &C);
|