Home
last modified time | relevance | path

Searched refs:rate_ (Results 1 - 5 of 5) sorted by relevance

/third_party/nghttp2/src/
H A Dshrpx_rate_limit.cc46 rate_(rate), in RateLimit()
52 if (rate_ > 0) { in RateLimit()
60 if (rate_ == 0) { in avail()
67 if (rate_ == 0) { in drain()
78 if (rate_ == 0) { in regen()
81 if (avail_ + rate_ > burst_) { in regen()
84 avail_ += rate_; in regen()
98 if (rate_ == 0 || avail_ > 0) { in startw()
H A Dshrpx_rate_limit.h60 size_t rate_; member in shrpx::RateLimit
/third_party/ninja/src/
H A Dstatus.h122 SlidingRateInfo(int n) : rate_(-1), N(n), last_update_(-1) {} in SlidingRateInfo()
124 double rate() { return rate_; } in rate()
135 rate_ = times_.size() / ((times_.back() - times_.front()) / 1e3); in UpdateRate()
139 double rate_; member
/third_party/node/deps/v8/src/profiler/
H A Dsampling-heap-profiler.h138 rate_(rate) {} in Observer()
151 intptr_t GetNextStepSize() override { return GetNextSampleInterval(rate_); }
158 uint64_t const rate_; member in v8::internal::SamplingHeapProfiler::Observer
195 const uint64_t rate_; member in v8::internal::SamplingHeapProfiler
H A Dsampling-heap-profiler.cc46 double scale = 1.0 / (1.0 - std::exp(-static_cast<double>(size) / rate_)); in ScaleSample()
62 rate_(rate), in SamplingHeapProfiler()
64 CHECK_GT(rate_, 0u); in SamplingHeapProfiler()

Completed in 2 milliseconds