Home
last modified time | relevance | path

Searched refs:accumulator_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/base/
Dbandwidthsmoother.cc43 accumulator_(samples_count_to_average), in BandwidthSmoother()
56 accumulator_.AddSample(bandwidth); in Sample()
58 if (accumulator_.count() < static_cast<size_t>( in Sample()
59 accumulator_.max_count() * min_sample_count_percent_)) { in Sample()
65 const int mean_bandwidth = accumulator_.ComputeMean(); in Sample()
Dbandwidthsmoother.h70 RollingAccumulator<int> accumulator_; variable
/external/chromium_org/cc/test/
Dlap_timer.cc22 accumulator_ = base::TimeDelta(); in Reset()
45 accumulator_ += now - start_time_; in NextLap()
50 bool LapTimer::HasTimeLimitExpired() { return accumulator_ >= time_limit_; } in HasTimeLimitExpired()
54 return accumulator_.InMillisecondsF() / num_laps_; in MsPerLap()
59 return num_laps_ / accumulator_.InSecondsF(); in LapsPerSecond()
Dlap_timer.h47 base::TimeDelta accumulator_; variable
/external/openfst/src/include/fst/
Dlabel-reachable.h157 accumulator_(s ? s : new S()), in fst_()
171 accumulator_(s ? s : new S()),
182 accumulator_(new S(*reachable.accumulator_)), in LabelReachable()
192 delete accumulator_; in ~LabelReachable() local
265 accumulator_->SetState(aiter_s);
266 if (accumulator_->Error()) error_ = true;
292 accumulator_->Init(fst, copy);
293 if (accumulator_->Error()) error_ = true;
343 reach_weight_ = accumulator_->Sum(reach_weight_, arcb.weight); in Reach()
350 reach_weight_ = accumulator_->Sum(reach_weight_, arc.weight); in Reach()
[all …]
Drandgen.h248 accumulator_(new C()) { in fst_()
249 accumulator_->Init(fst); in fst_()
257 accumulator_ = new C();
258 accumulator_->Init(*fst);
260 accumulator_ = new C(*sampler.accumulator_);
265 delete accumulator_; in ~ArcSampler() local
278 ++sample_map_[arc_selector_(fst_, rstate.state_id, accumulator_)]; in Sample()
288 bool Error() const { return accumulator_->Error(); } in Error()
298 C *accumulator_; variable