/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheLoadingTest.java | 106 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 …]
|
D | CacheManualTest.java | 31 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 …]
|
D | LocalLoadingCacheTest.java | 75 // 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 …]
|
D | CacheStatsTest.java | 29 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 …]
|
/external/libvpx/libvpx/ |
D | vpxstats.c | 19 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() 34 stats->file = fdopen(fd, "rb"); in stats_open_file() 36 stats->buf.sz = stat_buf.st_size; in stats_open_file() 37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0); in stats_open_file() 38 res = (stats->buf.buf != NULL); in stats_open_file() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_stats.cc | 44 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/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
D | smoothness_unittest.py | 15 stats = ['refresh_period', 'frame_timestamps', 'frame_times', 'paint_times', variable in _MockRenderingStats 24 for stat in self.stats: 39 stats = _MockRenderingStats() 40 for stat in _MockRenderingStats.stats: 41 # Just set fake data for all of the relevant arrays of stats typically 43 setattr(stats, stat, [[10, 20], [30, 40, 50]]) 46 self.metric._PopulateResultsFromStats(results, stats, False) 64 stats = _MockRenderingStats(refresh_period=10, 68 self.metric._ComputeSurfaceFlingerMetric(self.page, stats)) 75 stats = _MockRenderingStats( [all …]
|
D | smoothness.py | 54 stats = rendering_stats.RenderingStats( 58 self._PopulateResultsFromStats(results, stats, has_surface_flinger_stats) 60 def _PopulateResultsFromStats(self, results, stats, argument 64 self._ComputeQueueingDuration(page, stats), 65 self._ComputeFrameTimeDiscrepancy(page, stats), 66 self._ComputeMeanPixelsApproximated(page, stats), 67 self._ComputeMeanPixelsCheckerboarded(page, stats) 69 values += self._ComputeLatencyMetric(page, stats, 'input_event_latency', 70 stats.input_event_latency) 71 values += self._ComputeLatencyMetric(page, stats, [all …]
|
D | rendering_stats_unittest.py | 20 durations for stats and consistent timestamps for all mock trace events. 54 """ Stores expected data for comparison with actual input latency stats """ 63 """ Adds a random surface flinger stats event. 69 # Create randonm data and timestap for impl thread rendering stats. 95 """ Adds a random display rendering stats event. 101 # Create randonm data and timestap for main thread rendering stats. 125 """ Adds a random impl thread rendering stats event. 131 # Create randonm data and timestap for impl thread rendering stats. 168 """ Adds a random input latency stats event. 254 # A process without rendering stats [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICURWLock.java | 40 private Stats stats = null; field in ICURWLock 45 public final static class Stats { class in ICURWLock 71 private Stats() { in Stats() method in ICURWLock.Stats 74 private Stats(int rc, int mrc, int wrc, int wc, int wwc) { in Stats() method in ICURWLock.Stats 82 private Stats(Stats rhs) { in Stats() method in ICURWLock.Stats 87 * Return a string listing all the stats. 99 * Reset the stats. Returns existing stats, if any. 101 public synchronized Stats resetStats() { in resetStats() 102 Stats result = stats; in resetStats() 103 stats = new Stats(); in resetStats() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICURWLock.java | 42 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. 101 * Reset the stats. Returns existing stats, if any. 103 public synchronized Stats resetStats() { in resetStats() 104 Stats result = stats; in resetStats() 105 stats = new Stats(); in resetStats() [all …]
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_utility_unittest.cc | 31 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/ |
D | send_statistics_proxy_unittest.cc | 35 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 …]
|
D | report_block_stats_unittest.cc | 59 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/ |
D | Statistic.cpp | 1 //===-- 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", 51 std::vector<const Statistic*> Stats; member in __anon63f6d1d60111::StatisticInfo 58 Stats.push_back(S); in addStatistic() 69 // If stats are enabled, inform StatInfo that this statistic should be in RegisterStatistic() 99 StatisticInfo &Stats = *StatInfo; in PrintStatistics() local 103 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) { in PrintStatistics() 105 (unsigned)utostr(Stats.Stats[i]->getValue()).size()); in PrintStatistics() [all …]
|
/external/iproute2/tipc/ |
D | link.c | 210 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/opencv3/samples/cpp/tutorial_code/features2D/AKAZE_tracking/ |
D | planar_tracking.cpp | 8 #include "stats.h" // Stats structure definition 28 void setFirstFrame(const Mat frame, vector<Point2f> bb, string title, Stats& stats); 29 Mat process(const Mat frame, Stats& stats); 41 void Tracker::setFirstFrame(const Mat frame, vector<Point2f> bb, string title, Stats& stats) in setFirstFrame() argument 45 stats.keypoints = (int)first_kp.size(); in setFirstFrame() 51 Mat Tracker::process(const Mat frame, Stats& stats) in process() argument 56 stats.keypoints = (int)kp.size(); in process() 67 stats.matches = (int)matched1.size(); in process() 80 stats.inliers = 0; in process() 81 stats.ratio = 0; in process() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | Profiler.java | 69 // 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/ |
D | statscollector_unittest.cc | 141 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/ |
D | Profiler.cs | 57 /** 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/ |
D | Profiler.cs | 57 /** 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/video_processing/ |
D | video_processing_impl.cc | 44 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 …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowSyncResult.java | 19 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/chromium-trace/catapult/tracing/tracing/ui/extras/system_stats/ |
D | system_stats_instance_track.html | 45 * Tracks that display system stats data. 52 'tr-ui-e-system-stats-instance-track', tr.ui.tracks.StackedBarsTrack); 60 this.classList.add('tr-ui-e-system-stats-instance-track'); 82 var stats = snapshot.getStats(); 98 this.computeRatesRecursive_(prevStats, stats, 103 computeRatesRecursive_: function(prevStats, stats, 105 for (var statName in stats) { 106 if (stats[statName] instanceof Object) { 108 stats[statName], 112 stats['bytes_read_per_sec'] = (stats['sectors_read'] - [all …]
|
/external/webrtc/webrtc/audio/ |
D | audio_receive_stream.cc | 190 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 …]
|