Home
last modified time | relevance | path

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

12345678910>>...72

/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 …]
DCacheStatsTest.java29 CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); in testEmpty() local
30 assertEquals(0, stats.requestCount()); in testEmpty()
31 assertEquals(0, stats.hitCount()); in testEmpty()
32 assertEquals(1.0, stats.hitRate()); in testEmpty()
33 assertEquals(0, stats.missCount()); in testEmpty()
34 assertEquals(0.0, stats.missRate()); in testEmpty()
35 assertEquals(0, stats.loadSuccessCount()); in testEmpty()
36 assertEquals(0, stats.loadExceptionCount()); in testEmpty()
37 assertEquals(0.0, stats.loadExceptionRate()); in testEmpty()
38 assertEquals(0, stats.loadCount()); in testEmpty()
[all …]
DAbstractCacheTest.java102 CacheStats stats = counter.snapshot(); in testEmptySimpleStats() local
103 assertEquals(0, stats.requestCount()); in testEmptySimpleStats()
104 assertEquals(0, stats.hitCount()); in testEmptySimpleStats()
105 assertEquals(1.0, stats.hitRate()); in testEmptySimpleStats()
106 assertEquals(0, stats.missCount()); in testEmptySimpleStats()
107 assertEquals(0.0, stats.missRate()); in testEmptySimpleStats()
108 assertEquals(0, stats.loadSuccessCount()); in testEmptySimpleStats()
109 assertEquals(0, stats.loadExceptionCount()); in testEmptySimpleStats()
110 assertEquals(0, stats.loadCount()); in testEmptySimpleStats()
111 assertEquals(0, stats.totalLoadTime()); in testEmptySimpleStats()
[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/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/icu/android_icu4j/src/main/java/android/icu/impl/
DICURWLock.java44 private Stats stats = null; field in ICURWLock
49 public final static class Stats { class in ICURWLock
75 private Stats() { in Stats() method in ICURWLock.Stats
78 private Stats(int rc, int mrc, int wrc, int wc, int wwc) { in Stats() method in ICURWLock.Stats
86 private Stats(Stats rhs) { in Stats() method in ICURWLock.Stats
91 * Return a string listing all the stats.
104 * Reset the stats. Returns existing stats, if any.
106 public synchronized Stats resetStats() { in resetStats()
107 Stats result = stats; in resetStats()
108 stats = new Stats(); in resetStats()
[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/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 …]
Dreport_block_stats_unittest.cc59 const RTCPReportBlock& stats) { in RtcpReportBlockToRtcpStatistics() argument
61 block.cumulative_lost = stats.cumulativeLost; in RtcpReportBlockToRtcpStatistics()
62 block.fraction_lost = stats.fractionLost; in RtcpReportBlockToRtcpStatistics()
63 block.extended_max_sequence_number = stats.extendedHighSeqNum; in RtcpReportBlockToRtcpStatistics()
64 block.jitter = stats.jitter; in RtcpReportBlockToRtcpStatistics()
82 ReportBlockStats stats; in TEST_F() local
84 RTCPReportBlock aggregated = stats.AggregateAndStore(empty); in TEST_F()
92 ReportBlockStats stats; in TEST_F() local
93 RTCPReportBlock aggregated = stats.AggregateAndStore(ssrc1block1_); in TEST_F()
100 aggregated = stats.AggregateAndStore(ssrc1block2_); 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 __anon3cb968f50111::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 __anonbaeed6a10111::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 …]
/external/webrtc/webrtc/modules/video_processing/
Dvideo_processing_impl.cc44 FrameStats* stats) { in GetFrameStats() argument
45 ClearFrameStats(stats); // The histogram needs to be zeroed out. in GetFrameStats()
52 stats->sub_sampling_factor = GetSubSamplingFactor(width, height); in GetFrameStats()
56 for (int i = 0; i < height; i += (1 << stats->sub_sampling_factor)) { in GetFrameStats()
58 for (int j = 0; j < width; j += (1 << stats->sub_sampling_factor)) { in GetFrameStats()
59 stats->hist[buffer[k + j]]++; in GetFrameStats()
60 stats->sum += buffer[k + j]; in GetFrameStats()
64 stats->num_pixels = (width * height) / ((1 << stats->sub_sampling_factor) * in GetFrameStats()
65 (1 << stats->sub_sampling_factor)); in GetFrameStats()
66 assert(stats->num_pixels > 0); in GetFrameStats()
[all …]
Dbrightness_detection.cc32 const VideoProcessing::FrameStats& stats) { in ProcessFrame() argument
39 if (!VideoProcessing::ValidFrameStats(stats)) { in ProcessFrame()
49 prop_low += stats.hist[i]; in ProcessFrame()
51 prop_low /= stats.num_pixels; in ProcessFrame()
57 prop_high += stats.hist[i]; in ProcessFrame()
59 prop_high /= stats.num_pixels; in ProcessFrame()
62 if (stats.mean < 90 || stats.mean > 170) { in ProcessFrame()
66 for (int h = 0; h < height; h += (1 << stats.sub_sampling_factor)) { in ProcessFrame()
68 for (int w = 0; w < width; w += (1 << stats.sub_sampling_factor)) { in ProcessFrame()
70 (buffer[w + row] - stats.mean) * (buffer[w + row] - stats.mean); in ProcessFrame()
[all …]
/external/iproute2/tipc/
Dlink.c210 struct nlattr *stats[]) in _show_link_stat() argument
229 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_INFO]), in _show_link_stat()
230 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_FRAGMENTS]), in _show_link_stat()
231 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_FRAGMENTED]), in _show_link_stat()
232 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_BUNDLES]), in _show_link_stat()
233 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_BUNDLED])); in _show_link_stat()
237 mnl_attr_get_u32(stats[TIPC_NLA_STATS_TX_INFO]), in _show_link_stat()
238 mnl_attr_get_u32(stats[TIPC_NLA_STATS_TX_FRAGMENTS]), in _show_link_stat()
239 mnl_attr_get_u32(stats[TIPC_NLA_STATS_TX_FRAGMENTED]), in _show_link_stat()
240 mnl_attr_get_u32(stats[TIPC_NLA_STATS_TX_BUNDLES]), in _show_link_stat()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSyncResult.java19 Field f = SyncResult.class.getDeclaredField("stats"); in __constructor__()
31 return result.syncAlreadyInProgress || result.stats.numIoExceptions > 0; in hasSoftError()
36 return result.stats.numParseExceptions > 0 in hasHardError()
37 || result.stats.numConflictDetectedExceptions > 0 in hasHardError()
38 || result.stats.numAuthExceptions > 0 in hasHardError()
51 return ((result.stats.numDeletes > 0) && !result.tooManyDeletions) in madeSomeProgress()
52 || result.stats.numInserts > 0 in madeSomeProgress()
53 || result.stats.numUpdates > 0; in madeSomeProgress()
69 result.stats.clear(); in clear()
76 private SyncStats stats; field in ShadowSyncResult.ShadowSyncStats
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DProfiler.java69 // int Stats.min(toArray(decisionMaxSynPredLookaheads);
70 // int Stats.max(toArray(decisionMaxSynPredLookaheads);
71 // int Stats.avg(toArray(decisionMaxSynPredLookaheads);
72 // int Stats.stddev(toArray(decisionMaxSynPredLookaheads);
113 /** Because I may change the stats, I need to track that for later
117 public static final String RUNTIME_STATS_FILENAME = "runtime.stats";
146 ProfileStats stats = new ProfileStats(); field in Profiler
158 stats.numRuleInvocations++; in enterRule()
160 stats.maxRuleInvocationDepth = Math.max(stats.maxRuleInvocationDepth, ruleLevel); in enterRule()
184 stats.numMemoizationCacheMisses++; in examineRuleMemoization()
[all …]
/external/webrtc/talk/app/webrtc/
Dstatscollector_unittest.cc141 void GetStats(AudioProcessorInterface::AudioProcessorStats* stats) override { in GetStats() argument
142 stats->typing_noise_detected = true; in GetStats()
143 stats->echo_return_loss = 2; in GetStats()
144 stats->echo_return_loss_enhancement = 3; in GetStats()
145 stats->echo_delay_median_ms = 4; in GetStats()
146 stats->aec_quality_min = 5.1f; in GetStats()
147 stats->echo_delay_std_ms = 6; in GetStats()
539 // Adds a outgoing video track with a given SSRC into the stats.
548 // Adds a incoming video track with a given SSRC into the stats.
557 // Adds a outgoing audio track with a given SSRC into the stats.
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DProfiler.cs57 /** Because I may change the stats, I need to track that for later
61 public static readonly string RuntimeStatsFilename = "runtime.stats";
90 ProfileStats stats = new ProfileStats(); field in Antlr.Runtime.Debug.Profiler
102 stats.numRuleInvocations++; in EnterRule()
104 stats.maxRuleInvocationDepth = Math.Max(stats.maxRuleInvocationDepth, ruleLevel); in EnterRule()
128 stats.numMemoizationCacheMisses++; in ExamineRuleMemoization()
129 stats.numGuessingRuleInvocations++; // we'll have to enter in ExamineRuleMemoization()
134 stats.numMemoizationCacheHits++; in ExamineRuleMemoization()
147 stats.numMemoizationCacheEntries++; in Memoize()
157 stats.numDecisionEvents++; in EnterDecision()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DProfiler.cs57 /** Because I may change the stats, I need to track that for later
61 public static readonly string RuntimeStatsFilename = "runtime.stats";
90 ProfileStats stats = new ProfileStats(); field in Antlr.Runtime.Debug.Profiler
105 stats.numRuleInvocations++; in EnterRule()
107 stats.maxRuleInvocationDepth = Math.Max(stats.maxRuleInvocationDepth, ruleLevel); in EnterRule()
134 stats.numMemoizationCacheMisses++; in ExamineRuleMemoization()
135 stats.numGuessingRuleInvocations++; // we'll have to enter in ExamineRuleMemoization()
142 stats.numMemoizationCacheHits++; in ExamineRuleMemoization()
156 stats.numMemoizationCacheEntries++; in Memoize()
168 stats.numDecisionEvents++; in EnterDecision()
[all …]
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dcall_statistics_unittest.cc20 AudioDecodingCallStats stats; in TEST() local
22 stats = call_stats.GetDecodingStatistics(); in TEST()
23 EXPECT_EQ(0, stats.calls_to_neteq); in TEST()
24 EXPECT_EQ(0, stats.calls_to_silence_generator); in TEST()
25 EXPECT_EQ(0, stats.decoded_normal); in TEST()
26 EXPECT_EQ(0, stats.decoded_cng); in TEST()
27 EXPECT_EQ(0, stats.decoded_plc); in TEST()
28 EXPECT_EQ(0, stats.decoded_plc_cng); in TEST()
33 AudioDecodingCallStats stats; in TEST() local
41 stats = call_stats.GetDecodingStatistics(); in TEST()
[all …]
/external/webrtc/webrtc/audio/
Daudio_receive_stream.cc190 webrtc::AudioReceiveStream::Stats AudioReceiveStream::GetStats() const { in GetStats()
192 webrtc::AudioReceiveStream::Stats stats; in GetStats() local
193 stats.remote_ssrc = config_.rtp.remote_ssrc; in GetStats()
199 return stats; in GetStats()
202 stats.bytes_rcvd = call_stats.bytesReceived; in GetStats()
203 stats.packets_rcvd = call_stats.packetsReceived; in GetStats()
204 stats.packets_lost = call_stats.cumulativeLost; in GetStats()
205 stats.fraction_lost = Q8ToFloat(call_stats.fractionLost); in GetStats()
206 stats.capture_start_ntp_time_ms = call_stats.capture_start_ntp_time_ms_; in GetStats()
208 stats.codec_name = codec_inst.plname; in GetStats()
[all …]
/external/v8/src/
Dcompilation-statistics.cc16 const BasicStats& stats) { in RecordPhaseStats() argument
25 it->second.Accumulate(stats); in RecordPhaseStats()
30 const BasicStats& stats) { in RecordPhaseKindStats() argument
40 it->second.Accumulate(stats); in RecordPhaseKindStats()
45 const BasicStats& stats) { in RecordTotalStats() argument
49 total_stats_.Accumulate(stats); in RecordTotalStats()
53 void CompilationStatistics::BasicStats::Accumulate(const BasicStats& stats) { in Accumulate() argument
54 delta_ += stats.delta_; in Accumulate()
55 total_allocated_bytes_ += stats.total_allocated_bytes_; in Accumulate()
56 if (stats.absolute_max_allocated_bytes_ > absolute_max_allocated_bytes_) { in Accumulate()
[all …]

12345678910>>...72