Home
last modified time | relevance | path

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

12345678910>>...146

/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/rust/crates/grpcio-sys/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/igt-gpu-tools/lib/
Digt_stats.c34 #define sorted_value(stats, i) (stats->is_float ? stats->sorted_f[i] : stats->sorted_u64[i]) argument
35 #define unsorted_value(stats, i) (stats->is_float ? stats->values_f[i] : stats->values_u64[i]) argument
40 * @title: Stats
50 * igt_stats_t stats;
52 * igt_stats_init(&stats, 8);
54 * igt_stats_push(&stats, 2);
55 * igt_stats_push(&stats, 4);
56 * igt_stats_push(&stats, 4);
57 * igt_stats_push(&stats, 4);
58 * igt_stats_push(&stats, 5);
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheLoadingTest.java104 CacheStats stats = cache.stats(); in testLoad() local
105 assertEquals(0, stats.missCount()); in testLoad()
106 assertEquals(0, stats.loadSuccessCount()); in testLoad()
107 assertEquals(0, stats.loadExceptionCount()); in testLoad()
108 assertEquals(0, stats.hitCount()); in testLoad()
112 stats = cache.stats(); in testLoad()
113 assertEquals(1, stats.missCount()); in testLoad()
114 assertEquals(1, stats.loadSuccessCount()); in testLoad()
115 assertEquals(0, stats.loadExceptionCount()); in testLoad()
116 assertEquals(0, stats.hitCount()); in testLoad()
[all …]
DCacheManualTest.java28 CacheStats stats = cache.stats(); in testGetIfPresent() local
29 assertEquals(0, stats.missCount()); in testGetIfPresent()
30 assertEquals(0, stats.loadSuccessCount()); in testGetIfPresent()
31 assertEquals(0, stats.loadExceptionCount()); in testGetIfPresent()
32 assertEquals(0, stats.hitCount()); in testGetIfPresent()
38 stats = cache.stats(); in testGetIfPresent()
39 assertEquals(1, stats.missCount()); in testGetIfPresent()
40 assertEquals(0, stats.loadSuccessCount()); in testGetIfPresent()
41 assertEquals(0, stats.loadExceptionCount()); in testGetIfPresent()
42 assertEquals(0, stats.hitCount()); in testGetIfPresent()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoadingTest.java104 CacheStats stats = cache.stats(); in testLoad() local
105 assertEquals(0, stats.missCount()); in testLoad()
106 assertEquals(0, stats.loadSuccessCount()); in testLoad()
107 assertEquals(0, stats.loadExceptionCount()); in testLoad()
108 assertEquals(0, stats.hitCount()); in testLoad()
112 stats = cache.stats(); in testLoad()
113 assertEquals(1, stats.missCount()); in testLoad()
114 assertEquals(1, stats.loadSuccessCount()); in testLoad()
115 assertEquals(0, stats.loadExceptionCount()); in testLoad()
116 assertEquals(0, stats.hitCount()); in testLoad()
[all …]
DCacheManualTest.java28 CacheStats stats = cache.stats(); in testGetIfPresent() local
29 assertEquals(0, stats.missCount()); in testGetIfPresent()
30 assertEquals(0, stats.loadSuccessCount()); in testGetIfPresent()
31 assertEquals(0, stats.loadExceptionCount()); in testGetIfPresent()
32 assertEquals(0, stats.hitCount()); in testGetIfPresent()
38 stats = cache.stats(); in testGetIfPresent()
39 assertEquals(1, stats.missCount()); in testGetIfPresent()
40 assertEquals(0, stats.loadSuccessCount()); in testGetIfPresent()
41 assertEquals(0, stats.loadExceptionCount()); in testGetIfPresent()
42 assertEquals(0, stats.hitCount()); in testGetIfPresent()
[all …]
/external/igt-gpu-tools/lib/tests/
Digt_stats.c30 static void push_fixture_1(igt_stats_t *stats) in push_fixture_1() argument
32 igt_stats_push(stats, 2); in push_fixture_1()
33 igt_stats_push(stats, 4); in push_fixture_1()
34 igt_stats_push(stats, 6); in push_fixture_1()
35 igt_stats_push(stats, 8); in push_fixture_1()
36 igt_stats_push(stats, 10); in push_fixture_1()
42 igt_stats_t stats; in test_init_zero() local
44 stats.mean = 1.; in test_init_zero()
45 igt_stats_init(&stats); in test_init_zero()
46 igt_assert_eq_double(stats.mean, 0.); in test_init_zero()
[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/webrtc/modules/audio_coding/neteq/
Dstatistics_calculator_unittest.cc18 StatisticsCalculator stats; in TEST() local
20 stats.IncreaseCounter(480, 48000); // 10 ms at 48 kHz. in TEST()
22 EXPECT_EQ(10 * 480u, stats.GetLifetimeStatistics().total_samples_received); in TEST()
26 StatisticsCalculator stats; in TEST() local
27 stats.ExpandedVoiceSamples(100, false); in TEST()
28 stats.ExpandedNoiseSamples(17, false); in TEST()
29 EXPECT_EQ(100u + 17u, stats.GetLifetimeStatistics().concealed_samples); in TEST()
33 // result in a decrease in the stats value (because stats-consuming applications
37 StatisticsCalculator stats; in TEST() local
38 stats.ExpandedVoiceSamples(100, false); in TEST()
[all …]
/external/webrtc/rtc_base/numerics/
Dsamples_stats_counter_unittest.cc31 SamplesStatsCounter stats; in CreateStatsFilledWithIntsFrom1ToN() local
33 stats.AddSample(v); in CreateStatsFilledWithIntsFrom1ToN()
35 return stats; in CreateStatsFilledWithIntsFrom1ToN()
45 SamplesStatsCounter stats; in CreateStatsFromUniformDistribution() local
47 stats.AddSample(dis(gen)); in CreateStatsFromUniformDistribution()
49 return stats; in CreateStatsFromUniformDistribution()
59 SamplesStatsCounter stats = CreateStatsFilledWithIntsFrom1ToN(100); in TEST() local
61 EXPECT_TRUE(!stats.IsEmpty()); in TEST()
62 EXPECT_DOUBLE_EQ(stats.GetMin(), 1.0); in TEST()
63 EXPECT_DOUBLE_EQ(stats.GetMax(), 100.0); in TEST()
[all …]
Drunning_statistics_unittest.cc33 RunningStatistics<double> stats; in CreateStatsFilledWithIntsFrom1ToN() local
35 stats.AddSample(v); in CreateStatsFilledWithIntsFrom1ToN()
37 return stats; in CreateStatsFilledWithIntsFrom1ToN()
47 RunningStatistics<double> stats; in CreateStatsFromUniformDistribution() local
49 stats.AddSample(dis(gen)); in CreateStatsFromUniformDistribution()
51 return stats; in CreateStatsFromUniformDistribution()
61 auto stats = CreateStatsFilledWithIntsFrom1ToN(100); in TEST() local
63 EXPECT_DOUBLE_EQ(*stats.GetMin(), 1.0); in TEST()
64 EXPECT_DOUBLE_EQ(*stats.GetMax(), 100.0); in TEST()
66 ASSERT_NEAR(*stats.GetMean(), 50.5, 1e-10); in TEST()
[all …]
/external/llvm-project/clang/test/Driver/
Dsave-stats.c1 // RUN: %clang -target x86_64-apple-darwin -save-stats %s -### 2>&1 | FileCheck %s
2 // RUN: %clang -target x86_64-apple-darwin -save-stats=cwd %s -### 2>&1 | FileCheck %s
3 // CHECK: "-stats-file=save-stats.stats"
4 // CHECK: "{{.*}}save-stats.c"
6 // RUN: %clang -target x86_64-apple-darwin -S %s -### 2>&1 | FileCheck %s -check-prefix=NO-STATS
7 // NO-STATS-NO: -stats-file
8 // NO-STATS: "{{.*}}save-stats.c"
9 // NO-STATS-NO: -stats-file
11 // RUN: %clang -target x86_64-apple-darwin -save-stats=obj -c -o obj/dir/save-stats.o %s -### 2>&1 …
12 // CHECK-OBJ: "-stats-file=obj/dir{{/|\\\\}}save-stats.stats"
[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/webrtc/modules/rtp_rtcp/source/
Drtcp_nack_stats_unittest.cc18 RtcpNackStats stats; in TEST() local
19 EXPECT_EQ(0U, stats.unique_requests()); in TEST()
20 EXPECT_EQ(0U, stats.requests()); in TEST()
21 stats.ReportRequest(10); in TEST()
22 EXPECT_EQ(1U, stats.unique_requests()); in TEST()
23 EXPECT_EQ(1U, stats.requests()); in TEST()
25 stats.ReportRequest(10); in TEST()
26 EXPECT_EQ(1U, stats.unique_requests()); in TEST()
27 stats.ReportRequest(11); in TEST()
28 EXPECT_EQ(2U, stats.unique_requests()); in TEST()
[all …]
/external/webrtc/stats/
Drtc_stats_unittest.cc11 #include "api/stats/rtc_stats.h"
20 #include "stats/test/rtc_test_stats.h"
52 WEBRTC_RTCSTATS_IMPL(RTCChildStats, RTCStats, "child-stats", &child_int)
66 "grandchild-stats",
70 RTCTestStats stats("testId", 42); in TEST() local
71 EXPECT_EQ(stats.id(), "testId"); in TEST()
72 EXPECT_EQ(stats.timestamp_us(), static_cast<int64_t>(42)); in TEST()
73 std::vector<const RTCStatsMemberInterface*> members = stats.Members(); in TEST()
78 stats.m_bool = true; in TEST()
79 stats.m_int32 = 123; in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/cpp/ext/filters/census/
Dgrpc_plugin.h26 #include "opencensus/stats/stats.h"
31 // The tag keys set when recording RPC stats.
53 const ::opencensus::stats::ViewDescriptor& ClientSentMessagesPerRpcCumulative();
54 const ::opencensus::stats::ViewDescriptor& ClientSentBytesPerRpcCumulative();
55 const ::opencensus::stats::ViewDescriptor&
57 const ::opencensus::stats::ViewDescriptor&
59 const ::opencensus::stats::ViewDescriptor& ClientRoundtripLatencyCumulative();
60 const ::opencensus::stats::ViewDescriptor& ClientServerLatencyCumulative();
61 const ::opencensus::stats::ViewDescriptor& ClientCompletedRpcsCumulative();
63 const ::opencensus::stats::ViewDescriptor& ServerSentBytesPerRpcCumulative();
[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/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/llvm-project/compiler-rt/lib/asan/
Dasan_stats.cpp43 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", in Print()
45 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); in Print()
46 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); in Print()
47 Printf("Stats: %zuM really freed by %zu calls\n", in Print()
49 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print()
54 Printf("Stats: malloc large: %zu\n", malloc_large); in Print()
57 void AsanStats::MergeFrom(const AsanStats *stats) { in MergeFrom() argument
59 const uptr *src_ptr = reinterpret_cast<const uptr*>(stats); in MergeFrom()
78 accumulated_stats->MergeFrom(&t->stats()); in MergeThreadStats()
81 static void GetAccumulatedStats(AsanStats *stats) { in GetAccumulatedStats() argument
[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/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/rust/crates/grpcio-sys/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 …]

12345678910>>...146