Home
last modified time | relevance | path

Searched full:stats (Results 1 – 25 of 3127) sorted by relevance

12345678910>>...126

/external/grpc-grpc/tools/run_tests/performance/
Dmassage_qps_stats.py21 for stats in scenario_result["serverStats"] + scenario_result["clientStats"]:
22 if "coreStats" in stats:
25 core_stats = stats["coreStats"]
26 del stats["coreStats"]
27 stats[
30 stats[
33 stats["core_cqs_created"] = massage_qps_stats_helpers.counter(
35 stats[
38 stats[
41 stats[
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoadingTest.java106 CacheStats stats = cache.stats(); in testLoad() local
107 assertEquals(0, stats.missCount()); in testLoad()
108 assertEquals(0, stats.loadSuccessCount()); in testLoad()
109 assertEquals(0, stats.loadExceptionCount()); in testLoad()
110 assertEquals(0, stats.hitCount()); in testLoad()
114 stats = cache.stats(); in testLoad()
115 assertEquals(1, stats.missCount()); in testLoad()
116 assertEquals(1, stats.loadSuccessCount()); in testLoad()
117 assertEquals(0, stats.loadExceptionCount()); in testLoad()
118 assertEquals(0, stats.hitCount()); in testLoad()
[all …]
DCacheManualTest.java31 CacheStats stats = cache.stats(); in testGetIfPresent() local
32 assertEquals(0, stats.missCount()); in testGetIfPresent()
33 assertEquals(0, stats.loadSuccessCount()); in testGetIfPresent()
34 assertEquals(0, stats.loadExceptionCount()); in testGetIfPresent()
35 assertEquals(0, stats.hitCount()); in testGetIfPresent()
41 stats = cache.stats(); in testGetIfPresent()
42 assertEquals(1, stats.missCount()); in testGetIfPresent()
43 assertEquals(0, stats.loadSuccessCount()); in testGetIfPresent()
44 assertEquals(0, stats.loadExceptionCount()); in testGetIfPresent()
45 assertEquals(0, stats.hitCount()); in testGetIfPresent()
[all …]
DLocalLoadingCacheTest.java75 // stats tests
82 assertEquals(EMPTY_STATS, cache.stats()); in testStats()
86 CacheStats stats = cache.stats(); in testStats() local
87 assertEquals(1, stats.requestCount()); in testStats()
88 assertEquals(0, stats.hitCount()); in testStats()
89 assertEquals(0.0, stats.hitRate()); in testStats()
90 assertEquals(1, stats.missCount()); in testStats()
91 assertEquals(1.0, stats.missRate()); in testStats()
92 assertEquals(1, stats.loadCount()); in testStats()
93 long totalLoadTime = stats.totalLoadTime(); in testStats()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/stats/
Dstats_aggregate_test.cpp22 #include "tools/stats/spirv_stats.h"
25 namespace stats { namespace
52 void CompileAndAggregateStats(const std::string& code, SpirvStats* stats, in CompileAndAggregateStats() argument
61 binary->wordCount, nullptr, stats)); in CompileAndAggregateStats()
80 SpirvStats stats; in TEST() local
82 CompileAndAggregateStats(code1, &stats); in TEST()
83 EXPECT_EQ(4u, stats.capability_hist.size()); in TEST()
84 EXPECT_EQ(0u, stats.capability_hist.count(SpvCapabilityShader)); in TEST()
85 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityAddresses)); in TEST()
86 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityKernel)); in TEST()
[all …]
Dstats_analyzer_test.cpp22 #include "tools/stats/stats_analyzer.h"
25 namespace stats { namespace
28 // Fills |stats| with some synthetic header stats, as if aggregated from 100
30 void FillDefaultStats(SpirvStats* stats) { in FillDefaultStats() argument
31 *stats = SpirvStats(); in FillDefaultStats()
32 stats->version_hist[0x00010000] = 40; in FillDefaultStats()
33 stats->version_hist[0x00010100] = 60; in FillDefaultStats()
34 stats->generator_hist[0x00000000] = 64; in FillDefaultStats()
35 stats->generator_hist[0x00010000] = 1; in FillDefaultStats()
36 stats->generator_hist[0x00020000] = 2; in FillDefaultStats()
[all …]
/external/deqp-deps/SPIRV-Tools/test/stats/
Dstats_aggregate_test.cpp22 #include "tools/stats/spirv_stats.h"
25 namespace stats { namespace
52 void CompileAndAggregateStats(const std::string& code, SpirvStats* stats, in CompileAndAggregateStats() argument
61 binary->wordCount, nullptr, stats)); in CompileAndAggregateStats()
80 SpirvStats stats; in TEST() local
82 CompileAndAggregateStats(code1, &stats); in TEST()
83 EXPECT_EQ(4u, stats.capability_hist.size()); in TEST()
84 EXPECT_EQ(0u, stats.capability_hist.count(SpvCapabilityShader)); in TEST()
85 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityAddresses)); in TEST()
86 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityKernel)); in TEST()
[all …]
Dstats_analyzer_test.cpp22 #include "tools/stats/stats_analyzer.h"
25 namespace stats { namespace
28 // Fills |stats| with some synthetic header stats, as if aggregated from 100
30 void FillDefaultStats(SpirvStats* stats) { in FillDefaultStats() argument
31 *stats = SpirvStats(); in FillDefaultStats()
32 stats->version_hist[0x00010000] = 40; in FillDefaultStats()
33 stats->version_hist[0x00010100] = 60; in FillDefaultStats()
34 stats->generator_hist[0x00000000] = 64; in FillDefaultStats()
35 stats->generator_hist[0x00010000] = 1; in FillDefaultStats()
36 stats->generator_hist[0x00020000] = 2; in FillDefaultStats()
[all …]
/external/libvpx/libvpx/
Dvpxstats.c19 int stats_open_file(stats_io_t *stats, const char *fpf, int pass) { in stats_open_file() argument
21 stats->pass = pass; in stats_open_file()
24 stats->file = fopen(fpf, "wb"); in stats_open_file()
25 stats->buf.sz = 0; in stats_open_file()
26 stats->buf.buf = NULL; in stats_open_file()
27 res = (stats->file != NULL); in stats_open_file()
31 stats->file = fopen(fpf, "rb"); in stats_open_file()
33 if (stats->file == NULL) fatal("First-pass stats file does not exist!"); in stats_open_file()
35 if (fseek(stats->file, 0, SEEK_END)) in stats_open_file()
36 fatal("First-pass stats file must be seekable!"); in stats_open_file()
[all …]
/external/libaom/libaom/stats/
Daomstats.c12 #include "stats/aomstats.h"
20 int stats_open_file(stats_io_t *stats, const char *fpf, int pass) { in stats_open_file() argument
22 stats->pass = pass; in stats_open_file()
25 stats->file = fopen(fpf, "wb"); in stats_open_file()
26 stats->buf.sz = 0; in stats_open_file()
27 stats->buf.buf = NULL; in stats_open_file()
28 res = (stats->file != NULL); in stats_open_file()
32 stats->file = fopen(fpf, "rb"); in stats_open_file()
34 if (stats->file == NULL) fatal("First-pass stats file does not exist!"); in stats_open_file()
36 if (fseek(stats->file, 0, SEEK_END)) in stats_open_file()
[all …]
/external/grpc-grpc/src/cpp/ext/filters/census/
Dgrpc_plugin.h26 #include "opencensus/stats/stats.h"
32 // The tag keys set when recording RPC stats.
33 ::opencensus::stats::TagKey ClientMethodTagKey();
34 ::opencensus::stats::TagKey ClientStatusTagKey();
35 ::opencensus::stats::TagKey ServerMethodTagKey();
36 ::opencensus::stats::TagKey ServerStatusTagKey();
54 const ::opencensus::stats::ViewDescriptor& ClientSentMessagesPerRpcCumulative();
55 const ::opencensus::stats::ViewDescriptor& ClientSentBytesPerRpcCumulative();
56 const ::opencensus::stats::ViewDescriptor&
58 const ::opencensus::stats::ViewDescriptor&
[all …]
/external/bcc/tests/python/
Dtest_stat1.py35 self.stats = b.get_table("stats", Key, Leaf)
40 #for key, leaf in self.stats.items():
43 key = self.stats.Key(IPAddress("172.16.1.2").value, IPAddress("172.16.1.1").value)
44 leaf = self.stats[key]
47 del self.stats[key]
49 x = self.stats[key]
51 del self.stats[key]
52 self.stats.clear()
53 self.assertEqual(len(self.stats), 0)
54 self.stats[key] = leaf
[all …]
/external/grpc-grpc/src/core/ext/filters/load_reporting/
Dregistered_opencensus_objects.h24 #include "opencensus/stats/stats.h"
37 inline ::opencensus::stats::MeasureInt64 MeasureStartCount() { in MeasureStartCount()
38 static const ::opencensus::stats::MeasureInt64 measure = in MeasureStartCount()
39 ::opencensus::stats::MeasureInt64::Register( in MeasureStartCount()
44 inline ::opencensus::stats::MeasureInt64 MeasureEndCount() { in MeasureEndCount()
45 static const ::opencensus::stats::MeasureInt64 measure = in MeasureEndCount()
46 ::opencensus::stats::MeasureInt64::Register( in MeasureEndCount()
51 inline ::opencensus::stats::MeasureInt64 MeasureEndBytesSent() { in MeasureEndBytesSent()
52 static const ::opencensus::stats::MeasureInt64 measure = in MeasureEndBytesSent()
53 ::opencensus::stats::MeasureInt64::Register( in MeasureEndBytesSent()
[all …]
/external/compiler-rt/lib/asan/
Dasan_stats.cc44 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", in Print()
46 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); in Print()
47 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); in Print()
48 Printf("Stats: %zuM really freed by %zu calls\n", in Print()
50 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print()
55 Printf("Stats: malloc large: %zu\n", malloc_large); in Print()
58 void AsanStats::MergeFrom(const AsanStats *stats) { in MergeFrom() argument
60 const uptr *src_ptr = reinterpret_cast<const uptr*>(stats); in MergeFrom()
79 accumulated_stats->MergeFrom(&t->stats()); in MergeThreadStats()
82 static void GetAccumulatedStats(AsanStats *stats) { in GetAccumulatedStats() argument
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dtime_averaged_stats.cc23 void grpc_time_averaged_stats_init(grpc_time_averaged_stats* stats, in grpc_time_averaged_stats_init() argument
26 stats->init_avg = init_avg; in grpc_time_averaged_stats_init()
27 stats->regress_weight = regress_weight; in grpc_time_averaged_stats_init()
28 stats->persistence_factor = persistence_factor; in grpc_time_averaged_stats_init()
29 stats->batch_total_value = 0; in grpc_time_averaged_stats_init()
30 stats->batch_num_samples = 0; in grpc_time_averaged_stats_init()
31 stats->aggregate_total_weight = 0; in grpc_time_averaged_stats_init()
32 stats->aggregate_weighted_avg = init_avg; in grpc_time_averaged_stats_init()
35 void grpc_time_averaged_stats_add_sample(grpc_time_averaged_stats* stats, in grpc_time_averaged_stats_add_sample() argument
37 stats->batch_total_value += value; in grpc_time_averaged_stats_add_sample()
[all …]
/external/libcxx/test/libcxx/language.support/support.dynamic/
Dlibcpp_deallocate.sh.cpp107 alloc_stats stats; variable
111 stats.plain_called++; in operator delete()
112 stats.last_size = stats.last_align = -1; in operator delete()
118 stats.sized_called++; in operator delete()
119 stats.last_size = n; in operator delete()
120 stats.last_align = -1; in operator delete()
127 stats.aligned_called++; in operator delete()
128 stats.last_align = static_cast<int>(a); in operator delete()
129 stats.last_size = -1; in operator delete()
134 stats.aligned_sized_called++; in operator delete()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICURWLock.java42 private Stats stats = null; field in ICURWLock
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
89 * Return a string listing all the stats.
102 * Reset the stats. Returns existing stats, if any.
104 public synchronized Stats resetStats() { in resetStats()
105 Stats result = stats; in resetStats()
106 stats = new Stats(); in resetStats()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_utility_unittest.cc31 RTCPUtility::NackStats stats; in TEST() local
32 EXPECT_EQ(0U, stats.unique_requests()); in TEST()
33 EXPECT_EQ(0U, stats.requests()); in TEST()
34 stats.ReportRequest(10); in TEST()
35 EXPECT_EQ(1U, stats.unique_requests()); in TEST()
36 EXPECT_EQ(1U, stats.requests()); in TEST()
38 stats.ReportRequest(10); in TEST()
39 EXPECT_EQ(1U, stats.unique_requests()); in TEST()
40 stats.ReportRequest(11); in TEST()
41 EXPECT_EQ(2U, stats.unique_requests()); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DStatistic.cpp1 //===-- Statistic.cpp - Easy way to expose stats information --------------===//
12 // printed at the end of a run, when the -stats command line option is enabled
39 /// -stats - Command line option to cause transformations to emit stats about
42 static cl::opt<bool> Stats( variable
43 "stats",
47 static cl::opt<bool> StatsAsJSON("stats-json",
61 std::vector<Statistic*> Stats; member in __anon251cf7570111::StatisticInfo
76 Stats.push_back(S); in addStatistic()
79 const_iterator begin() const { return Stats.begin(); } in begin()
80 const_iterator end() const { return Stats.end(); } in end()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICURWLock.java44 private Stats stats = null; field in ICURWLock
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
92 * Return a string listing all the stats.
105 * Reset the stats. Returns existing stats, if any.
107 public synchronized Stats resetStats() { in resetStats()
108 Stats result = stats; in resetStats()
109 stats = new Stats(); in resetStats()
[all …]
/external/libxcam/xcore/
Dx3a_analyzer_simple.cpp146 X3aAnalyzerSimple::pre_3a_analyze (SmartPtr<X3aStats> &stats) in pre_3a_analyze() argument
148 _current_stats = stats; in pre_3a_analyze()
174 const XCam3AStats *stats = _current_stats->get_stats (); in analyze_awb() local
181 XCAM_ASSERT (stats); in analyze_awb()
184 for (uint32_t i = 0; i < stats->info.height; ++i) in analyze_awb()
185 for (uint32_t j = 0; j < stats->info.width; ++j) { in analyze_awb()
186 sum_r += (double)(stats->stats[i * stats->info.aligned_width + j].avg_r); in analyze_awb()
187 sum_gr += (double)(stats->stats[i * stats->info.aligned_width + j].avg_gr); in analyze_awb()
188 sum_gb += (double)(stats->stats[i * stats->info.aligned_width + j].avg_gb); in analyze_awb()
189 sum_b += (double)(stats->stats[i * stats->info.aligned_width + j].avg_b); in analyze_awb()
[all …]
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dstat_utils.cc27 // = 1 - (1 / C^2) ( stats.square() + 2 stats.sum() + #_classes)
28 // = 1 - ( stats.square() + 2 stats.sum() + #_classes) / (smoothed_sum *
32 // smoothed_sum = stats.sum() + #_classes
33 float GiniImpurity(const LeafStat& stats, int32 num_classes) { in GiniImpurity() argument
34 const float smoothed_sum = num_classes + stats.weight_sum(); in GiniImpurity()
35 return 1.0 - ((stats.classification().gini().square() + in GiniImpurity()
36 2 * stats.weight_sum() + num_classes) / in GiniImpurity()
40 float WeightedGiniImpurity(const LeafStat& stats, int32 num_classes) { in WeightedGiniImpurity() argument
41 return stats.weight_sum() * GiniImpurity(stats, num_classes); in WeightedGiniImpurity()
44 void UpdateGini(LeafStat* stats, float old_val, float weight) { in UpdateGini() argument
[all …]
/external/webrtc/webrtc/video/
Dsend_statistics_proxy_unittest.cc35 expected_ = VideoSendStream::Stats(); in SetUp()
47 void ExpectEqual(VideoSendStream::Stats one, VideoSendStream::Stats other) { in ExpectEqual()
94 VideoSendStream::Stats expected_;
129 VideoSendStream::Stats stats = statistics_proxy_->GetStats(); in TEST_F() local
130 ExpectEqual(expected_, stats); in TEST_F()
139 VideoSendStream::Stats stats = statistics_proxy_->GetStats(); in TEST_F() local
140 EXPECT_EQ(media_bitrate_bps, stats.media_bitrate_bps); in TEST_F()
141 EXPECT_EQ(encode_fps, stats.encode_frame_rate); in TEST_F()
164 VideoSendStream::StreamStats& stats = expected_.substreams[ssrc]; in TEST_F() local
169 stats.frame_counts = frame_counts; in TEST_F()
[all …]
/external/llvm/lib/Support/
DStatistic.cpp1 //===-- Statistic.cpp - Easy way to expose stats information --------------===//
12 // printed at the end of a run, when the -stats command line option is enabled
37 /// -stats - Command line option to cause transformations to emit stats about
42 "stats",
46 static cl::opt<bool> StatsAsJSON("stats-json",
54 std::vector<const Statistic*> Stats; member in __anone58620ff0111::StatisticInfo
65 Stats.push_back(S); in addStatistic()
76 // If stats are enabled, inform StatInfo that this statistic should be in RegisterStatistic()
106 std::stable_sort(Stats.begin(), Stats.end(), in sort()
119 StatisticInfo &Stats = *StatInfo; in PrintStatistics() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DStatistic.cpp1 //===-- Statistic.cpp - Easy way to expose stats information --------------===//
12 // printed at the end of a run, when the -stats command line option is enabled
38 /// -stats - Command line option to cause transformations to emit stats about
42 Enabled("stats", cl::desc("Enable statistics output from program"));
50 std::vector<const Statistic*> Stats; member in __anonbc56ccab0111::StatisticInfo
57 Stats.push_back(S); in addStatistic()
68 // If stats are enabled, inform StatInfo that this statistic should be in RegisterStatistic()
109 StatisticInfo &Stats = *StatInfo; in PrintStatistics() local
113 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) { in PrintStatistics()
115 (unsigned)utostr(Stats.Stats[i]->getValue()).size()); in PrintStatistics()
[all …]

12345678910>>...126