Searched refs:stats_ (Results 1 - 25 of 84) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/
H A Dstats_unittest.cc28 stats_ = new Stats();
32 delete stats_;
35 Stats* stats_; member in class:webrtc::test::StatsTest
40 EXPECT_EQ(0u, stats_->stats_.size());
41 stats_->PrintSummary(); // should not crash
46 stats_->NewFrame(0u);
47 FrameStatistic* frameStat = &stats_->stats_[0];
55 FrameStatistic& frameStat = stats_
[all...]
H A Dstats.cc59 stats_.push_back(stat);
60 return stats_[frame_number];
65 if (stats_.size() == 0) {
79 for (FrameStatisticsIterator it = stats_.begin();
80 it != stats_.end(); ++it) {
97 frame = std::min_element(stats_.begin(),
98 stats_.end(), LessForEncodeTime);
102 frame = std::max_element(stats_.begin(),
103 stats_.end(), LessForEncodeTime);
108 static_cast<int>(total_encoding_time_in_us / stats_
[all...]
H A Dvideoprocessor_unittest.cc39 Stats stats_; member in class:webrtc::test::VideoProcessorTest
77 &stats_);
93 &stats_);
H A Dstats.h64 std::vector<FrameStatistic> stats_; member in class:webrtc::test::Stats
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
H A Drate_statistics_unittest.cc20 RateStatisticsTest() : stats_(500, 8000) {}
21 RateStatistics stats_; member in class:__anon15256::RateStatisticsTest
27 EXPECT_EQ(0u, stats_.Rate(now_ms));
28 stats_.Update(1500, now_ms);
30 EXPECT_EQ(24000u, stats_.Rate(now_ms));
31 stats_.Reset();
33 EXPECT_EQ(0u, stats_.Rate(now_ms));
36 stats_.Update(1500, now_ms);
41 EXPECT_NEAR(1200000u, stats_.Rate(now_ms), 24000u);
48 EXPECT_EQ(0u, stats_
[all...]
/external/chromium_org/third_party/webrtc/video/
H A Dreceive_statistics_proxy.cc32 stats_.ssrc = ssrc;
41 stats = stats_;
63 stats_.network_frame_rate = framerate;
64 stats_.bitrate_bps = bitrate;
72 stats_.rtcp_stats = statistics;
80 stats_.rtp_stats = counters;
88 stats_.decode_frame_rate = decode_fps_estimator_.Rate(now);
96 stats_.render_frame_rate = renders_fps_estimator_.Rate(now);
H A Dsend_statistics_proxy.cc33 stats_.encode_frame_rate = framerate;
38 stats_.suspended = is_suspended;
44 stats_.input_frame_rate = frame_rate;
51 stats = stats_;
59 std::map<uint32_t, StreamStats>::iterator it = stats_.substreams.find(ssrc);
60 if (it != stats_.substreams.end())
67 return &stats_.substreams[ssrc]; // Insert new entry and return ptr.
/external/chromium_org/chrome/browser/notifications/
H A Dmessage_center_stats_collector.cc58 stats_[notification_id] = NotificationStats(notification_id);
60 StatsCollection::iterator iter = stats_.find(notification_id);
61 DCHECK(iter != stats_.end());
63 stats_[notification_id].CollectAction(NOTIFICATION_ACTION_ADD);
68 StatsCollection::iterator iter = stats_.find(notification_id);
69 if (iter == stats_.end())
76 stats_.erase(notification_id);
81 StatsCollection::iterator iter = stats_.find(notification_id);
82 if (iter == stats_.end())
91 StatsCollection::iterator iter = stats_
[all...]
/external/chromium_org/media/cast/rtp_receiver/
H A Dreceiver_stats_unittest.cc23 : stats_(&testing_clock_),
46 ReceiverStats stats_; member in class:media::cast::ReceiverStatsTest
60 stats_.GetStatistics(&fraction_lost_,
73 stats_.UpdateStatistics(rtp_header_);
80 stats_.GetStatistics(&fraction_lost_,
94 stats_.UpdateStatistics(rtp_header_);
101 stats_.GetStatistics(&fraction_lost_,
117 stats_.UpdateStatistics(rtp_header_);
124 stats_.GetStatistics(&fraction_lost_,
137 stats_
[all...]
/external/chromium_org/net/quic/congestion_control/
H A Dcubic_test.cc26 cubic_(&clock_, &stats_) {
31 QuicConnectionStats stats_; member in class:net::test::CubicTest
92 EXPECT_NEAR(expected_cwnd - 10, stats_.cwnd_increase_congestion_avoidance,
94 EXPECT_NEAR(1u, stats_.cwnd_increase_cubic_mode, 1);
98 stats_.cwnd_increase_cubic_mode = 0;
99 stats_.cwnd_increase_congestion_avoidance = 0;
115 EXPECT_EQ(expected_cwnd - old_cwnd, stats_.cwnd_increase_cubic_mode);
117 stats_.cwnd_increase_congestion_avoidance);
154 stats_.cwnd_increase_cubic_mode = 0;
155 stats_
[all...]
H A Dcubic.cc57 stats_(stats) {
81 stats_->cwnd_increase_congestion_avoidance +=
85 stats_->cwnd_increase_cubic_mode +=
H A Dcubic.h83 QuicConnectionStats* stats_; member in class:net::Cubic
/external/chromium_org/chrome/browser/task_manager/
H A Drenderer_resource.cc30 memset(&stats_, 0, sizeof(stats_));
49 return stats_;
62 stats_ = stats;
/external/chromium_org/net/disk_cache/blockfile/
H A Dbackend_impl_v3.cc152 stats_.OnEvent(Stats::DOOM_ENTRY);
203 stats_.ModifyStorageStats(old_size, new_size);
207 stats_.ModifyStorageStats(0, size);
256 int64 last_report = stats_.GetCounter(Stats::LAST_REPORT);
259 stats_.SetCounter(Stats::LAST_REPORT, Time::Now().ToInternalValue());
276 int64 use_time = stats_.GetCounter(Stats::TIMER);
278 CACHE_UMA(PERCENTAGE, "FirstHitRatio", stats_.GetHitRatio());
290 int large_entries_bytes = stats_.GetLargeEntriesSize();
295 CACHE_UMA(PERCENTAGE, "FirstResurrectRatio", stats_.GetResurrectRatio());
304 stats_
[all...]
H A Dbackend_impl.cc267 // stats_ and rankings_ may end up calling back to us so we better be enabled.
363 stats_.OnEvent(Stats::DOOM_CACHE);
420 stats_.OnEvent(Stats::DOOM_RECENT);
489 int64 total_hours = stats_.GetCounter(Stats::TIMER) / 120;
490 int64 no_use_hours = stats_.GetCounter(Stats::LAST_REPORT_TIMER) / 120;
498 stats_.OnEvent(Stats::OPEN_MISS);
511 stats_.OnEvent(Stats::OPEN_HIT);
562 stats_.OnEvent(Stats::CREATE_ERROR);
570 stats_.OnEvent(Stats::CREATE_ERROR);
582 stats_
[all...]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dreceive_statistics_unittest.cc139 : RtcpStatisticsCallback(), num_calls_(0), ssrc_(0), stats_() {}
145 stats_ = statistics;
151 RtcpStatistics stats_; member in class:webrtc::TestCallback
184 EXPECT_EQ(statistics.cumulative_lost, callback.stats_.cumulative_lost);
186 callback.stats_.extended_max_sequence_number);
187 EXPECT_EQ(statistics.fraction_lost, callback.stats_.fraction_lost);
188 EXPECT_EQ(statistics.jitter, callback.stats_.jitter);
226 : StreamDataCountersCallback(), num_calls_(0), ssrc_(0), stats_() {}
232 stats_ = counters;
245 EXPECT_EQ(bytes, stats_
254 StreamDataCounters stats_; member in class:webrtc::TestCallback
[all...]
/external/chromium_org/chrome/browser/renderer_host/
H A Dweb_cache_manager.cc96 RendererInfo* stats = &(stats_[renderer_id]);
108 stats_.erase(renderer_id);
115 StatsMap::iterator item = stats_.find(renderer_id);
116 if (item == stats_.end())
136 StatsMap::iterator entry = stats_.find(renderer_id);
137 if (entry == stats_.end())
205 StatsMap::iterator elmt = stats_.find(*iter);
206 if (elmt != stats_.end()) {
302 StatsMap::iterator elmt = stats_.find(*iter);
303 if (elmt != stats_
[all...]
H A Dweb_cache_manager_browsertest.cc67 EXPECT_GE(WebCacheManager::GetInstance()->stats_.size(), 1U);
68 EXPECT_LE(WebCacheManager::GetInstance()->stats_.size(), 2U);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dpage_heap.cc103 ASSERT(stats_.unmapped_bytes+ stats_.committed_bytes==stats_.system_bytes);
167 stats_.committed_bytes += span->length << kPageShift;
173 stats_.committed_bytes -= span->length << kPageShift;
213 ASSERT(stats_.unmapped_bytes+ stats_.committed_bytes==stats_.system_bytes);
230 ASSERT(stats_.unmapped_bytes+ stats_
[all...]
/external/chromium_org/v8/test/cctest/
H A Dtest-strings.cc279 ConsStringStats stats_; member in class:ConsStringGenerationData
312 stats_.Reset();
374 CHECK_EQ(root->length(), data->stats_.chars_);
378 stats.VerifyEqual(data->stats_);
383 stats.empty_leaves_ = data->stats_.empty_leaves_;
384 stats.left_traversals_ = data->stats_.left_traversals_;
385 stats.right_traversals_ = data->stats_.right_traversals_;
388 stats.VerifyEqual(data->stats_);
405 terminate |= data->stats_.leaves_ >= data->max_leaves_;
415 data->stats_
[all...]
/external/chromium_org/dbus/
H A Ddbus_statistics.cc71 STLDeleteContainerPointers(stats_.begin(), stats_.end());
103 // Look up the Stat entry in |stats_|. If |add_stat| is true, add a new entry
111 StatSet::iterator found = stats_.find(stat.get());
112 if (found != stats_.end())
116 found = stats_.insert(stat.release()).first;
120 StatSet& stats() { return stats_; }
124 StatSet stats_; member in class:dbus::__anon7600::DBusStatistics
/external/chromium_org/net/quic/
H A Dquic_received_packet_manager_test.cc189 QuicReceivedPacketManagerTest() : received_manager_(kTCP, &stats_) {}
205 QuicConnectionStats stats_; member in class:net::test::__anon8883::QuicReceivedPacketManagerTest
234 EXPECT_EQ(5u, stats_.max_sequence_reordering);
235 EXPECT_EQ(0u, stats_.max_time_reordering_us);
236 EXPECT_EQ(2u, stats_.packets_reordered);
281 EXPECT_EQ(0u, stats_.max_sequence_reordering);
282 EXPECT_EQ(0u, stats_.max_time_reordering_us);
283 EXPECT_EQ(0u, stats_.packets_reordered);
326 EXPECT_EQ(4u, stats_.max_sequence_reordering);
327 EXPECT_EQ(1000u, stats_
[all...]
H A Dquic_received_packet_manager.cc137 stats_(stats) {
163 ++stats_->packets_reordered;
165 stats_->max_sequence_reordering =
166 max(stats_->max_sequence_reordering, sequence_gap);
169 stats_->max_time_reordering_us = max(stats_->max_time_reordering_us,
/external/chromium_org/remoting/client/plugin/
H A Dmedia_source_video_renderer.cc169 return &stats_;
183 stats_.video_frame_rate()->Record(1);
184 stats_.video_bandwidth()->Record(packet->data().size());
186 stats_.video_capture_ms()->Record(packet->capture_time_ms());
188 stats_.video_encode_ms()->Record(packet->encode_time_ms());
195 stats_.round_trip_ms()->Record(round_trip_latency.InMilliseconds());
/external/chromium-trace/trace-viewer/src/base/
H A Dunittest.js42 this.stats_ = {
111 this.stats_.duration += suite.duration;
112 this.stats_.tests += suite.testCount;
113 this.stats_.failures += suite.failureCount;
130 this.stats_.exceptions.push(exception);
139 '<span class="passed">' + this.stats_.tests + '</span> tests, ' +
140 '<span class="failed">' + this.stats_.failures +
142 '<span class="exception">' + this.stats_.exceptions.length +
144 ' in ' + this.stats_.duration + 'ms.';
149 exceptionsEl.setAttribute('hasExceptions', this.stats_
[all...]

Completed in 903 milliseconds

1234