Home
last modified time | relevance | path

Searched refs:stats_ (Results 1 – 25 of 126) sorted by relevance

123456

/external/webrtc/modules/rtp_rtcp/source/
Dpacket_loss_stats_unittest.cc19 PacketLossStats stats_; member in webrtc::PacketLossStatsTest
26 stats_.AddLostPacket(i); in TEST_F()
28 EXPECT_EQ(500, stats_.GetSingleLossCount()); in TEST_F()
29 EXPECT_EQ(0, stats_.GetMultipleLossEventCount()); in TEST_F()
30 EXPECT_EQ(0, stats_.GetMultipleLossPacketCount()); in TEST_F()
37 stats_.AddLostPacket(i & 0xFFFF); in TEST_F()
39 EXPECT_EQ(500, stats_.GetSingleLossCount()); in TEST_F()
40 EXPECT_EQ(0, stats_.GetMultipleLossEventCount()); in TEST_F()
41 EXPECT_EQ(0, stats_.GetMultipleLossPacketCount()); in TEST_F()
49 stats_.AddLostPacket(i & 0xFFFF); in TEST_F()
[all …]
/external/webrtc/rtc_base/
Drate_statistics_unittest.cc25 RateStatisticsTest() : stats_(kWindowMs, 8000) {} in RateStatisticsTest()
26 RateStatistics stats_; member in __anonac5d9b690111::RateStatisticsTest
31 EXPECT_FALSE(static_cast<bool>(stats_.Rate(now_ms))); in TEST_F()
37 stats_.Update(kPacketSize, now_ms++); in TEST_F()
38 EXPECT_FALSE(static_cast<bool>(stats_.Rate(now_ms))); in TEST_F()
42 stats_.Update(kPacketSize, now_ms); in TEST_F()
43 EXPECT_EQ(kExpectedRateBps, *stats_.Rate(now_ms)); in TEST_F()
45 stats_.Reset(); in TEST_F()
47 EXPECT_FALSE(static_cast<bool>(stats_.Rate(now_ms))); in TEST_F()
52 stats_.Update(kPacketSize, now_ms); in TEST_F()
[all …]
/external/libwebm/common/
Dvp9_level_stats_tests.cc98 stats_.AddFrame(parser_, time_ns); in ProcessTheFrames()
117 vp9_parser::Vp9LevelStats stats_; member in __anon88a0afcb0111::Vp9LevelStatsTests
128 EXPECT_EQ(11, stats_.GetLevel()); in TEST_F()
129 EXPECT_EQ(479232, stats_.GetMaxLumaSampleRate()); in TEST_F()
130 EXPECT_EQ(36864, stats_.GetMaxLumaPictureSize()); in TEST_F()
131 EXPECT_DOUBLE_EQ(264.03233333333333, stats_.GetAverageBitRate()); in TEST_F()
132 EXPECT_DOUBLE_EQ(147.136, stats_.GetMaxCpbSize()); in TEST_F()
133 EXPECT_DOUBLE_EQ(19.267458404715583, stats_.GetCompressionRatio()); in TEST_F()
134 EXPECT_EQ(1, stats_.GetMaxColumnTiles()); in TEST_F()
135 EXPECT_EQ(11, stats_.GetMinimumAltrefDistance()); in TEST_F()
[all …]
/external/webrtc/rtc_base/numerics/
Dsample_stats.cc58 stats_.AddSample(delta.seconds<double>()); in AddSample()
65 stats_.AddSamples(other.stats_); in AddSamples()
69 return stats_.IsEmpty(); in IsEmpty()
73 return TimeDelta::Seconds(stats_.Max()); in Max()
77 return TimeDelta::Seconds(stats_.Mean()); in Mean()
85 return TimeDelta::Seconds(stats_.Quantile(quantile)); in Quantile()
89 return TimeDelta::Seconds(stats_.Min()); in Min()
93 return TimeDelta::Seconds(stats_.Variance()); in Variance()
97 return TimeDelta::Seconds(stats_.StandardDeviation()); in StandardDeviation()
101 return stats_.Count(); in Count()
[all …]
Dsamples_stats_counter.h53 return *stats_.GetMin(); in GetMin()
59 return *stats_.GetMax(); in GetMax()
65 return *stats_.GetMean(); in GetAverage()
71 return *stats_.GetVariance(); in GetVariance()
77 return *stats_.GetStandardDeviation(); in GetStandardDeviation()
101 RunningStatistics<double> stats_;
/external/webrtc/test/scenario/
Dstats_collection.cc64 res.push_back(layer.second.stats_); in layer_stats()
72 cached_->AddStats(layer.second.stats_); in stats()
85 ++stats_.lost_count; in HandleFramePair()
88 stats_.psnr_with_freeze.AddSample(psnr); in HandleFramePair()
90 ++stats_.freeze_count; in HandleFramePair()
93 stats_.psnr.AddSample(psnr); in HandleFramePair()
108 stats_.capture.AddFrameInfo(*sample.captured, sample.capture_time); in HandleCapturedFrame()
114 stats_.capture_to_decoded_delay.AddSample(sample.decoded_time - in HandleRenderedFrame()
116 stats_.end_to_end_delay.AddSample(sample.render_time - sample.capture_time); in HandleRenderedFrame()
117 stats_.render.AddFrameInfo(*sample.decoded, sample.render_time); in HandleRenderedFrame()
[all …]
Dstats_collection.h37 VideoQualityStats stats_; variable
68 CollectedCallStats& stats() { return stats_; } in stats()
71 CollectedCallStats stats_;
76 CollectedAudioReceiveStats& stats() { return stats_; } in stats()
79 CollectedAudioReceiveStats stats_;
84 CollectedVideoSendStats& stats() { return stats_; } in stats()
87 CollectedVideoSendStats stats_;
94 CollectedVideoReceiveStats& stats() { return stats_; } in stats()
97 CollectedVideoReceiveStats stats_;
/external/webrtc/video/
Dreceive_statistics_proxy.cc123 stats_.ssrc = config_.rtp.remote_ssrc; in ReceiveStatisticsProxy()
141 if (stats_.frame_counts.key_frames > 0 || in UpdateHistograms()
142 stats_.frame_counts.delta_frames > 0) { in UpdateHistograms()
149 log_stream << "Frames decoded " << stats_.frames_decoded << '\n'; in UpdateHistograms()
152 int num_dropped_frames = *num_unique_frames_ - stats_.frames_decoded; in UpdateHistograms()
172 (stats_.frames_decoded * 1000.0f / elapsed_ms) + 0.5f); in UpdateHistograms()
178 const uint32_t frames_rendered = stats_.frames_rendered; in UpdateHistograms()
221 stats_.frame_counts.key_frames + stats_.frame_counts.delta_frames; in UpdateHistograms()
223 int num_key_frames = stats_.frame_counts.key_frames; in UpdateHistograms()
438 const RtcpPacketTypeCounter& counters = stats_.rtcp_packet_type_counts; in UpdateHistograms()
[all …]
Dreceive_statistics_proxy2.cc142 stats_.ssrc = config->rtp.remote_ssrc; in ReceiveStatisticsProxy()
160 if (stats_.frame_counts.key_frames > 0 || in UpdateHistograms()
161 stats_.frame_counts.delta_frames > 0) { in UpdateHistograms()
168 log_stream << "Frames decoded " << stats_.frames_decoded << '\n'; in UpdateHistograms()
171 int num_dropped_frames = *num_unique_frames_ - stats_.frames_decoded; in UpdateHistograms()
191 (stats_.frames_decoded * 1000.0f / elapsed_ms) + 0.5f); in UpdateHistograms()
197 const uint32_t frames_rendered = stats_.frames_rendered; in UpdateHistograms()
240 stats_.frame_counts.key_frames + stats_.frame_counts.delta_frames; in UpdateHistograms()
242 int num_key_frames = stats_.frame_counts.key_frames; in UpdateHistograms()
459 const RtcpPacketTypeCounter& counters = stats_.rtcp_packet_type_counts; in UpdateHistograms()
[all …]
Dstats_counter.cc51 ++stats_.num_samples; in Add()
52 if (stats_.num_samples == 1) { in Add()
53 stats_.min = sample; in Add()
54 stats_.max = sample; in Add()
56 stats_.min = std::min(sample, stats_.min); in Add()
57 stats_.max = std::max(sample, stats_.max); in Add()
62 return stats_; in ComputeStats()
65 bool Empty() const { return stats_.num_samples == 0; } in Empty()
71 if (stats_.num_samples == 0) in Compute()
74 stats_.average = in Compute()
[all …]
Dsend_statistics_proxy.cc153 new UmaSamplesContainer(GetUmaPrefix(content_type_), stats_, clock)) {
158 uma_container_->UpdateHistograms(rtp_config_, stats_); in ~SendStatisticsProxy()
676 uma_container_->UpdateHistograms(rtp_config_, stats_); in OnEncoderReconfigured()
678 GetUmaPrefix(config.content_type), stats_, clock_)); in OnEncoderReconfigured()
693 stats_.avg_encode_time_ms = std::round(encode_time_.filtered()); in OnEncodedFrameTimeMeasured()
694 stats_.total_encode_time_ms += encode_time_ms; in OnEncodedFrameTimeMeasured()
695 stats_.encode_usage_percent = encode_usage_percent; in OnEncodedFrameTimeMeasured()
701 stats_.suspended = is_suspended; in OnSuspendChange()
738 stats_.input_frame_rate = in GetStats()
740 stats_.content_type = in GetStats()
[all …]
/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_stats_getter.cc55 stats_.push_back(std::make_pair(time_now_ms, stats)); in AfterGetAudio()
91 stats_.begin(), stats_.end(), double{0.0}, in AverageSpeechExpandRate()
95 return sum_speech_expand / 16384.0 / stats_.size(); in AverageSpeechExpandRate()
100 stats_.begin(), stats_.end(), Stats(), in AverageStats()
123 sum_stats.current_buffer_size_ms /= stats_.size(); in AverageStats()
124 sum_stats.preferred_buffer_size_ms /= stats_.size(); in AverageStats()
125 sum_stats.jitter_peaks_found /= stats_.size(); in AverageStats()
126 sum_stats.packet_loss_rate /= stats_.size(); in AverageStats()
127 sum_stats.expand_rate /= stats_.size(); in AverageStats()
128 sum_stats.speech_expand_rate /= stats_.size(); in AverageStats()
[all …]
/external/perfetto/src/tracing/core/
Dtrace_buffer.cc96 stats_.set_buffer_size(size); in Initialize()
122 stats_.set_abi_violations(stats_.abi_violations() + 1); in CopyChunkUntrusted()
173 stats_.set_abi_violations(stats_.abi_violations() + 1); in CopyChunkUntrusted()
201 stats_.set_abi_violations(stats_.abi_violations() + 1); in CopyChunkUntrusted()
228 stats_.set_chunks_rewritten(stats_.chunks_rewritten() + 1); in CopyChunkUntrusted()
245 stats_.set_write_wrap_count(stats_.write_wrap_count() + 1); in CopyChunkUntrusted()
275 stats_.set_chunks_written(stats_.chunks_written() + 1); in CopyChunkUntrusted()
276 stats_.set_bytes_written(stats_.bytes_written() + record_size); in CopyChunkUntrusted()
289 stats_.set_write_wrap_count(stats_.write_wrap_count() + 1); in CopyChunkUntrusted()
312 stats_.set_chunks_committed_out_of_order( in CopyChunkUntrusted()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dcpu_allocator_impl.cc89 ++stats_.num_allocs; in AllocateRaw()
90 stats_.bytes_in_use += alloc_size; in AllocateRaw()
91 stats_.peak_bytes_in_use = in AllocateRaw()
92 std::max<int64>(stats_.peak_bytes_in_use, stats_.bytes_in_use); in AllocateRaw()
93 stats_.largest_alloc_size = in AllocateRaw()
94 std::max<int64>(stats_.largest_alloc_size, alloc_size); in AllocateRaw()
96 if (stats_.bytes_in_use > TotalAllocationWarningBytes() && in AllocateRaw()
99 LOG(WARNING) << "Total allocated memory " << stats_.bytes_in_use in AllocateRaw()
112 stats_.bytes_in_use -= alloc_size; in DeallocateRaw()
119 return stats_; in GetStats()
[all …]
/external/webrtc/modules/audio_processing/agc2/
Dinterpolated_gain_curve.cc44 if (stats_.available) { in ~InterpolatedGainCurve()
47 stats_.look_ups_identity_region); in ~InterpolatedGainCurve()
49 stats_.look_ups_knee_region); in ~InterpolatedGainCurve()
51 stats_.look_ups_limiter_region); in ~InterpolatedGainCurve()
53 stats_.look_ups_saturation_region); in ~InterpolatedGainCurve()
54 region_logger_.LogRegionStats(stats_); in ~InterpolatedGainCurve()
123 stats_.available = true; in UpdateStats()
128 stats_.look_ups_identity_region++; in UpdateStats()
132 stats_.look_ups_knee_region++; in UpdateStats()
135 stats_.look_ups_limiter_region++; in UpdateStats()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h58 stats_.bytes_limit = total_memory; in MklSmallSizeAllocator()
87 return stats_; in GetStats()
92 stats_.num_allocs = 0; in ClearStats()
93 stats_.peak_bytes_in_use = 0; in ClearStats()
94 stats_.largest_alloc_size = 0; in ClearStats()
95 stats_.bytes_in_use = 0; in ClearStats()
96 stats_.bytes_limit = 0; in ClearStats()
103 ++stats_.num_allocs; in IncrementStats()
104 stats_.bytes_in_use += alloc_size; in IncrementStats()
105 stats_.peak_bytes_in_use = in IncrementStats()
[all …]
Dstep_stats_collector.cc57 stats_->set_node_name(node->name()); in NodeExecStatsWrapper()
63 : stats_(std::move(stats)), in NodeExecStatsWrapper()
72 for (auto& all : stats_->memory()) { in Done()
107 stats_->set_timeline_label(text); in Done()
113 stats_->set_all_start_micros(now_nanos / EnvTime::kMicrosToNanos); in RecordExecutorStarted()
114 stats_->set_all_start_nanos(now_nanos); in RecordExecutorStarted()
119 DCHECK_NE(stats_->all_start_micros(), 0); in RecordComputeStarted()
120 DCHECK_NE(stats_->all_start_nanos(), 0); in RecordComputeStarted()
121 stats_->set_op_start_rel_micros(now_nanos / EnvTime::kMicrosToNanos - in RecordComputeStarted()
122 stats_->all_start_micros()); in RecordComputeStarted()
[all …]
/external/tensorflow/tensorflow/cc/profiler/
Dprofiler.cc23 stats_.reset(new TFStats(std::move(graph_ptr), nullptr, nullptr, nullptr)); in Profiler()
29 stats_->AddRunMeta(step, std::move(run_meta_ptr)); in AddStep()
33 stats_->BuildView(kCmds[1]); in ProfileGraph()
34 return stats_->ShowGraphNode(kCmds[1], options); in ProfileGraph()
38 stats_->BuildView(kCmds[0]); in ProfileNameScope()
39 return stats_->ShowGraphNode(kCmds[0], options); in ProfileNameScope()
43 stats_->BuildView(kCmds[3]); in ProfileOperations()
44 return stats_->ShowMultiGraphNode(kCmds[3], options); in ProfileOperations()
52 stats_->SerializeToString(content); in SerializeToString()
/external/webrtc/stats/
Drtc_stats_report.cc70 for (auto it = stats_.begin(); it != stats_.end(); ++it) { in Copy()
78 stats_.insert(std::make_pair(std::string(stats->id()), std::move(stats))); in AddStats()
86 StatsMap::const_iterator it = stats_.find(id); in Get()
87 if (it != stats_.cend()) in Get()
93 StatsMap::iterator it = stats_.find(id); in Take()
94 if (it == stats_.end()) in Take()
97 stats_.erase(it); in Take()
103 for (StatsMap::iterator it = victim->stats_.begin(); in TakeMembersFrom()
104 it != victim->stats_.end(); ++it) { in TakeMembersFrom()
107 victim->stats_.clear(); in TakeMembersFrom()
[all …]
/external/webrtc/modules/video_coding/codecs/vp8/
Dscreenshare_layers.cc157 if (stats_.first_frame_time_ms_ == -1) in NextFrameConfig()
158 stats_.first_frame_time_ms_ = now_ms; in NextFrameConfig()
212 ++stats_.num_dropped_frames_; in NextFrameConfig()
399 ++stats_.num_tl0_frames_; in OnEncodeDone()
400 stats_.tl0_target_bitrate_sum_ += layers_[0].target_rate_kbps_; in OnEncodeDone()
401 stats_.tl0_qp_sum_ += qp; in OnEncodeDone()
404 ++stats_.num_tl1_frames_; in OnEncodeDone()
405 stats_.tl1_target_bitrate_sum_ += layers_[1].target_rate_kbps_; in OnEncodeDone()
406 stats_.tl1_qp_sum_ += qp; in OnEncodeDone()
413 ++stats_.num_overshoots_; in OnFrameDropped()
[all …]
/external/webrtc/pc/test/
Dmock_peer_connection_observers.h351 MockStatsObserver() : called_(false), stats_() {} in MockStatsObserver()
357 stats_.Clear(); in OnComplete()
358 stats_.number_of_reports = reports.size(); in OnComplete()
361 stats_.timestamp = r->timestamp(); in OnComplete()
363 &stats_.audio_output_level); in OnComplete()
365 &stats_.audio_input_level); in OnComplete()
367 &stats_.bytes_received); in OnComplete()
369 &stats_.bytes_sent); in OnComplete()
371 &stats_.capture_start_ntp_time); in OnComplete()
372 stats_.track_ids.emplace_back(); in OnComplete()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/executor/
Dmpmcqueue.cc38 stats_.num_completed++; in PopFront()
39 stats_.total_queue_time = gpr_time_add(stats_.total_queue_time, wait_time); in PopFront()
40 stats_.max_queue_time = gpr_time_max( in PopFront()
41 gpr_convert_clock_type(stats_.max_queue_time, GPR_TIMESPAN), wait_time); in PopFront()
44 stats_.busy_queue_time = in PopFront()
45 gpr_time_add(stats_.busy_queue_time, in PopFront()
52 stats_.num_completed, in PopFront()
53 gpr_timespec_to_micros(stats_.total_queue_time), in PopFront()
54 gpr_timespec_to_micros(stats_.max_queue_time), in PopFront()
55 gpr_timespec_to_micros(stats_.busy_queue_time)); in PopFront()
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_local_cache.h22 stats_.Init(); in Init()
24 s->Register(&stats_); in Init()
30 s->Unregister(&stats_); in Destroy()
43 stats_.Add(AllocatorStatAllocated, c->class_size); in Allocate()
61 stats_.Sub(AllocatorStatAllocated, c->class_size); in Deallocate()
84 AllocatorStats stats_; member
102 if (UNLIKELY(!allocator->GetFromAllocator(&stats_, class_id, c->chunks, in Refill()
114 allocator->ReturnToAllocator(&stats_, class_id, in Drain()
126 stats_.Init(); in Init()
128 s->Register(&stats_); in Init()
[all …]
/external/image_io/includes/image_io/utils/
Dmessage_stats_writer.h25 : stats_(message_stats), outputter_(outputter), name_(name) {} in MessageStatsWriter()
29 const string kError = stats_->error_count == 1 ? "error" : "errors"; in ~MessageStatsWriter()
30 const string kWarning = stats_->warning_count == 1 ? "warning" : "warnings"; in ~MessageStatsWriter()
33 << name_ << " finished, " << stats_->error_count << " " << kError << ", " in ~MessageStatsWriter()
34 << stats_->warning_count << " " << kWarning << std::endl; in ~MessageStatsWriter()
39 std::shared_ptr<MessageStats> stats_;
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
Dtfprof_advisor.h33 Advisor(const TFStats* stats) : stats_(stats) {} in Advisor()
47 AdviceProto ret = RunInternalCheckers(options, stats_); in Advise()
52 au_checker.Run(options.checkers().at(kCheckers[0]), stats_)); in Advise()
57 op_checker.Run(options.checkers().at(kCheckers[1]), stats_)); in Advise()
63 stats_)); in Advise()
76 const TFStats* stats_;

123456