Home
last modified time | relevance | path

Searched refs:Stats (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/external/cronet/net/disk_cache/blockfile/
Dstats_unittest.cc12 disk_cache::Stats stats; in TEST()
14 EXPECT_EQ(0, stats.GetCounter(disk_cache::Stats::TRIM_ENTRY)); in TEST()
18 disk_cache::Stats stats; in TEST()
24 EXPECT_EQ(0, stats.GetCounter(disk_cache::Stats::TRIM_ENTRY)); in TEST()
28 disk_cache::Stats stats; in TEST()
44 auto stats = std::make_unique<disk_cache::Stats>(); in TEST()
48 stats->SetCounter(disk_cache::Stats::CREATE_ERROR, 11); in TEST()
49 stats->SetCounter(disk_cache::Stats::DOOM_ENTRY, 13); in TEST()
50 stats->OnEvent(disk_cache::Stats::MIN_COUNTER); in TEST()
51 stats->OnEvent(disk_cache::Stats::TRIM_ENTRY); in TEST()
[all …]
Dstats.cc25 int data_sizes[disk_cache::Stats::kDataSizesLength];
26 int64_t counters[disk_cache::Stats::MAX_COUNTER];
71 static_assert(std::size(kCounterNames) == disk_cache::Stats::MAX_COUNTER,
96 Stats::Stats() = default;
98 Stats::~Stats() = default;
100 bool Stats::Init(void* data, int num_bytes, Addr address) { in Init()
135 void Stats::InitSizeHistogram() { in InitSizeHistogram()
150 int Stats::StorageSize() { in StorageSize()
157 void Stats::ModifyStorageStats(int32_t old_size, int32_t new_size) { in ModifyStorageStats()
172 void Stats::OnEvent(Counters an_event) { in OnEvent()
[all …]
Dstats.h20 class NET_EXPORT_PRIVATE Stats {
50 Stats();
52 Stats(const Stats&) = delete;
53 Stats& operator=(const Stats&) = delete;
55 ~Stats();
/external/llvm/lib/Support/
DStatistic.cpp54 std::vector<const Statistic*> Stats; member in __anon8a1dd0bb0111::StatisticInfo
65 Stats.push_back(S); in addStatistic()
106 std::stable_sort(Stats.begin(), Stats.end(), in sort()
119 StatisticInfo &Stats = *StatInfo; in PrintStatistics() local
123 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) { in PrintStatistics()
125 (unsigned)utostr(Stats.Stats[i]->getValue()).size()); in PrintStatistics()
127 (unsigned)std::strlen(Stats.Stats[i]->getDebugType())); in PrintStatistics()
130 Stats.sort(); in PrintStatistics()
138 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) in PrintStatistics()
140 MaxValLen, Stats.Stats[i]->getValue(), in PrintStatistics()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStatistic.cpp60 std::vector<TrackingStatistic *> Stats; member in __anon3e59f35d0111::StatisticInfo
74 void addStatistic(TrackingStatistic *S) { Stats.push_back(S); } in addStatistic()
76 const_iterator begin() const { return Stats.begin(); } in begin()
77 const_iterator end() const { return Stats.end(); } in end()
137 Stats, [](const TrackingStatistic *LHS, const TrackingStatistic *RHS) { in sort()
155 for (auto *Stat : Stats) { in reset()
167 Stats.clear(); in reset()
171 StatisticInfo &Stats = *StatInfo; in PrintStatistics() local
175 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) { in PrintStatistics()
177 (unsigned)utostr(Stats.Stats[i]->getValue()).size()); in PrintStatistics()
[all …]
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/
DStats.java6 public final class Stats { class
7 private Stats() {} in Stats() method in Stats
172 return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_descriptor; in getDescriptor()
177 … return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_fieldAccessorTable in internalGetFieldAccessorTable()
179 …io.grpc.benchmarks.proto.Stats.ServerStats.class, io.grpc.benchmarks.proto.Stats.ServerStats.Build… in internalGetFieldAccessorTable()
333 if (!(obj instanceof io.grpc.benchmarks.proto.Stats.ServerStats)) { in equals()
336 …io.grpc.benchmarks.proto.Stats.ServerStats other = (io.grpc.benchmarks.proto.Stats.ServerStats) ob… in equals()
391 public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( in parseFrom()
396 public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( in parseFrom()
402 public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( in parseFrom()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICURWLock.java42 private Stats stats = null;
47 public final static class Stats { class in ICURWLock
73 private Stats() { in Stats() method in ICURWLock.Stats
76 private Stats(int rc, int mrc, int wrc, int wc, int wwc) { in Stats() method in ICURWLock.Stats
84 private Stats(Stats rhs) { in Stats() method in ICURWLock.Stats
104 public synchronized Stats resetStats() { in resetStats()
105 Stats result = stats; in resetStats()
106 stats = new Stats(); in resetStats()
113 public synchronized Stats clearStats() { in clearStats()
114 Stats result = stats; in clearStats()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICURWLock.java44 private Stats stats = null;
50 public final static class Stats { class in ICURWLock
76 private Stats() { in Stats() method in ICURWLock.Stats
79 private Stats(int rc, int mrc, int wrc, int wc, int wwc) { in Stats() method in ICURWLock.Stats
87 private Stats(Stats rhs) { in Stats() method in ICURWLock.Stats
107 public synchronized Stats resetStats() { in resetStats()
108 Stats result = stats; in resetStats()
109 stats = new Stats(); in resetStats()
116 public synchronized Stats clearStats() { in clearStats()
117 Stats result = stats; in clearStats()
[all …]
/external/guava/android/guava-tests/test/com/google/common/math/
DStatsTesting.java216 static final Stats EMPTY_STATS_VARARGS = Stats.of();
217 static final Stats EMPTY_STATS_ITERABLE = Stats.of(ImmutableList.<Double>of());
218 static final Stats ONE_VALUE_STATS = Stats.of(ONE_VALUE);
219 static final Stats OTHER_ONE_VALUE_STATS = Stats.of(OTHER_ONE_VALUE);
220 static final Stats TWO_VALUES_STATS = Stats.of(TWO_VALUES);
221 static final Stats OTHER_TWO_VALUES_STATS = Stats.of(OTHER_TWO_VALUES);
222 static final Stats MANY_VALUES_STATS_VARARGS = Stats.of(1.1, -44.44, 33.33, 555.555, -2.2);
223 static final Stats MANY_VALUES_STATS_ITERABLE = Stats.of(MANY_VALUES);
224 static final Stats MANY_VALUES_STATS_ITERATOR = Stats.of(MANY_VALUES.iterator());
225 static final Stats MANY_VALUES_STATS_SNAPSHOT = buildManyValuesStatsSnapshot();
[all …]
DStatsTest.java118 assertThat(Stats.of(POSITIVE_INFINITY).mean()).isPositiveInfinity(); in testMean()
119 assertThat(Stats.of(NEGATIVE_INFINITY).mean()).isNegativeInfinity(); in testMean()
120 assertThat(Stats.of(NaN).mean()).isNaN(); in testMean()
125 double mean = Stats.of(values.asArray()).mean(); in testMean()
210 assertThat(Stats.of(POSITIVE_INFINITY).populationVariance()).isNaN(); in testPopulationVariance()
211 assertThat(Stats.of(NEGATIVE_INFINITY).populationVariance()).isNaN(); in testPopulationVariance()
212 assertThat(Stats.of(NaN).populationVariance()).isNaN(); in testPopulationVariance()
222 double populationVariance = Stats.of(values.asIterable()).populationVariance(); in testPopulationVariance()
401 assertThat(Stats.of(POSITIVE_INFINITY).max()).isPositiveInfinity(); in testMax()
402 assertThat(Stats.of(NEGATIVE_INFINITY).max()).isNegativeInfinity(); in testMax()
[all …]
/external/skia/src/gpu/ganesh/
DGrThreadSafePipelineBuilder.cpp14 using Stats = GrThreadSafePipelineBuilder::Stats; typedef
17 const char* kCacheResultStrings[Stats::kNumProgramCacheResults] = { in cache_result_to_str()
22 static_assert(0 == (int) Stats::ProgramCacheResult::kHit); in cache_result_to_str()
23 static_assert(1 == (int) Stats::ProgramCacheResult::kMiss); in cache_result_to_str()
24 static_assert(2 == (int) Stats::ProgramCacheResult::kPartial); in cache_result_to_str()
25 static_assert(Stats::kNumProgramCacheResults == 3); in cache_result_to_str()
29 void GrThreadSafePipelineBuilder::Stats::dump(SkString* out) { in dump()
34 for (int i = 0; i < Stats::kNumProgramCacheResults-1; ++i) { in dump()
41 for (int i = 0; i < Stats::kNumProgramCacheResults-1; ++i) { in dump()
53 void GrThreadSafePipelineBuilder::Stats::dumpKeyValuePairs(SkTArray<SkString>* keys, in dumpKeyValuePairs()
/external/guava/guava-tests/test/com/google/common/math/
DStatsTesting.java245 static final Stats EMPTY_STATS_VARARGS = Stats.of();
246 static final Stats EMPTY_STATS_ITERABLE = Stats.of(ImmutableList.<Double>of());
247 static final Stats ONE_VALUE_STATS = Stats.of(ONE_VALUE);
248 static final Stats OTHER_ONE_VALUE_STATS = Stats.of(OTHER_ONE_VALUE);
249 static final Stats TWO_VALUES_STATS = Stats.of(TWO_VALUES);
250 static final Stats OTHER_TWO_VALUES_STATS = Stats.of(OTHER_TWO_VALUES);
251 static final Stats MANY_VALUES_STATS_VARARGS = Stats.of(1.1, -44.44, 33.33, 555.555, -2.2);
252 static final Stats MANY_VALUES_STATS_ITERABLE = Stats.of(MANY_VALUES);
253 static final Stats MANY_VALUES_STATS_ITERATOR = Stats.of(MANY_VALUES.iterator());
254 static final Stats MANY_VALUES_STATS_SNAPSHOT = buildManyValuesStatsSnapshot();
[all …]
DStatsTest.java19 import static com.google.common.math.Stats.toStats;
128 assertThat(Stats.of(POSITIVE_INFINITY).mean()).isPositiveInfinity(); in testMean()
129 assertThat(Stats.of(NEGATIVE_INFINITY).mean()).isNegativeInfinity(); in testMean()
130 assertThat(Stats.of(NaN).mean()).isNaN(); in testMean()
135 double mean = Stats.of(values.asArray()).mean(); in testMean()
220 assertThat(Stats.of(POSITIVE_INFINITY).populationVariance()).isNaN(); in testPopulationVariance()
221 assertThat(Stats.of(NEGATIVE_INFINITY).populationVariance()).isNaN(); in testPopulationVariance()
222 assertThat(Stats.of(NaN).populationVariance()).isNaN(); in testPopulationVariance()
232 double populationVariance = Stats.of(values.asIterable()).populationVariance(); in testPopulationVariance()
411 assertThat(Stats.of(POSITIVE_INFINITY).max()).isPositiveInfinity(); in testMax()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DStatsTest.java37 Stats.loadStatsComponent( in loadStatsManager_UsesProvidedClassLoader()
56 assertThat(Stats.loadStatsComponent(classLoader).getClass().getName()) in loadStatsManager_IgnoresMissingClasses()
62 assertThat(Stats.getStatsRecorder()).isEqualTo(NoopStats.getNoopStatsRecorder()); in defaultValues()
63 assertThat(Stats.getViewManager()).isInstanceOf(NoopStats.newNoopViewManager().getClass()); in defaultValues()
68 assertThat(Stats.getState()).isEqualTo(StatsCollectionState.DISABLED); in getState()
74 Stats.setState(StatsCollectionState.ENABLED); in setState_IgnoresInput()
75 assertThat(Stats.getState()).isEqualTo(StatsCollectionState.DISABLED); in setState_IgnoresInput()
83 Stats.setState(null); in setState_DisallowsNull()
/external/guava/android/guava/src/com/google/common/math/
DPairedStats.java45 private final Stats xStats;
46 private final Stats yStats;
61 PairedStats(Stats xStats, Stats yStats, double sumOfProductsOfDeltas) { in PairedStats()
73 public Stats xStats() { in xStats()
78 public Stats yStats() { in yStats()
282 private static final int BYTES = Stats.BYTES * 2 + Double.SIZE / Byte.SIZE;
313 Stats xStats = Stats.readFrom(buffer); in fromByteArray()
314 Stats yStats = Stats.readFrom(buffer); in fromByteArray()
DStats.java64 public final class Stats implements Serializable { class
86 Stats(long count, double mean, double sumOfSquaresOfDeltas, double min, double max) { in Stats() method in Stats
100 public static Stats of(Iterable<? extends Number> values) { in of()
113 public static Stats of(Iterator<? extends Number> values) { in of()
124 public static Stats of(double... values) { in of()
135 public static Stats of(int... values) { in of()
147 public static Stats of(long... values) { in of()
351 Stats other = (Stats) obj; in equals()
552 public static Stats fromByteArray(byte[] byteArray) { in fromByteArray()
572 static Stats readFrom(ByteBuffer buffer) { in readFrom()
[all …]
/external/guava/guava/src/com/google/common/math/
DPairedStats.java45 private final Stats xStats;
46 private final Stats yStats;
61 PairedStats(Stats xStats, Stats yStats, double sumOfProductsOfDeltas) { in PairedStats()
73 public Stats xStats() { in xStats()
78 public Stats yStats() { in yStats()
282 private static final int BYTES = Stats.BYTES * 2 + Double.SIZE / Byte.SIZE;
313 Stats xStats = Stats.readFrom(buffer); in fromByteArray()
314 Stats yStats = Stats.readFrom(buffer); in fromByteArray()
DStats.java68 public final class Stats implements Serializable { class
90 Stats(long count, double mean, double sumOfSquaresOfDeltas, double min, double max) { in Stats() method in Stats
104 public static Stats of(Iterable<? extends Number> values) { in of()
117 public static Stats of(Iterator<? extends Number> values) { in of()
128 public static Stats of(double... values) { in of()
139 public static Stats of(int... values) { in of()
151 public static Stats of(long... values) { in of()
167 public static Stats of(DoubleStream values) { in of()
183 public static Stats of(IntStream values) { in of()
200 public static Stats of(LongStream values) { in of()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStatFs.java22 private static final Stats DEFAULT_STATS = new Stats(0, 0, 0);
23 private static TreeMap<String, Stats> stats = new TreeMap<>();
24 private Stats stat;
73 Map.Entry<String, Stats> mapEntry = stats.floorEntry(path); in restat()
131 stats.put(path, new Stats(blockCount, freeBlocks, availableBlocks)); in registerStats()
139 private static class Stats { class in ShadowStatFs
140 Stats(int blockCount, int freeBlocks, int availableBlocks) { in Stats() method in ShadowStatFs.Stats
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStatFs.java22 private static final Stats DEFAULT_STATS = new Stats(0, 0, 0);
23 private static TreeMap<String, Stats> stats = new TreeMap<>();
24 private Stats stat;
73 Map.Entry<String, Stats> mapEntry = stats.floorEntry(path); in restat()
131 stats.put(path, new Stats(blockCount, freeBlocks, availableBlocks)); in registerStats()
157 private static class Stats { class in ShadowStatFs
158 Stats(int blockCount, int freeBlocks, int availableBlocks) { in Stats() method in ShadowStatFs.Stats
/external/tensorflow/tensorflow/compiler/xla/service/
Dcompilation_stats.cc42 class Stats : public CompilationStats { class
44 Stats() = default;
80 return std::make_unique<Stats>(); in MakeStats()
83 void Stats::StartPass(absl::string_view pass_name) { in StartPass()
91 void Stats::EndPass(absl::string_view pass_name) { in EndPass()
100 void Stats::CompilationReport() { in CompilationReport()
135 int Stats::GetPassesSize() { return passes_.size(); } in GetPassesSize()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp841 const PerBlockIDStats &Stats = I->second; in AnalyzeBitcode() local
842 outs() << " Num Instances: " << Stats.NumInstances << "\n"; in AnalyzeBitcode()
844 PrintSize(Stats.NumBits); in AnalyzeBitcode()
846 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; in AnalyzeBitcode()
848 if (Stats.NumInstances > 1) { in AnalyzeBitcode()
850 PrintSize(Stats.NumBits/(double)Stats.NumInstances); in AnalyzeBitcode()
852 outs() << " Tot/Avg SubBlocks: " << Stats.NumSubBlocks << "/" in AnalyzeBitcode()
853 << Stats.NumSubBlocks/(double)Stats.NumInstances << "\n"; in AnalyzeBitcode()
854 outs() << " Tot/Avg Abbrevs: " << Stats.NumAbbrevs << "/" in AnalyzeBitcode()
855 << Stats.NumAbbrevs/(double)Stats.NumInstances << "\n"; in AnalyzeBitcode()
[all …]
/external/webrtc/call/
Daudio_receive_stream.cc15 AudioReceiveStreamInterface::Stats::Stats() = default;
16 AudioReceiveStreamInterface::Stats::~Stats() = default;
/external/webrtc/api/test/metrics/
Dprint_result_proxy_metrics_exporter_test.cc48 Metric::Stats{.mean = 15.0, .stddev = 5.0, .min = 10.0, .max = 20.0}}; in TEST()
57 .stats = Metric::Stats{ in TEST()
84 .stats = Metric::Stats{ in TEST()
95 Metric::Stats{.mean = 10.0, .stddev = 0.0, .min = 10.0, .max = 10.0}}; in TEST()
105 Metric::Stats{.mean = 1.0, .stddev = 0.0, .min = 1.0, .max = 1.0}}; in TEST()
130 .stats = Metric::Stats{ in TEST()
139 .stats = Metric::Stats{ in TEST()
162 .stats = Metric::Stats{}}; in TEST()
/external/tensorflow/tensorflow/compiler/aot/
Dbenchmark.h48 struct Stats { struct
52 Stats() : total_us(0) { per_iter_us.reserve(5000); } in Stats() argument
57 void DumpStatsToStdout(const Stats& stats);
64 void Benchmark(const Options& options, const BenchmarkFn& fn, Stats* stats);

12345678910>>...17