OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:data_points_
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/remoting/base/
running_average.cc
23
data_points_
.push_back(value);
26
if (
data_points_
.size() > window_size_) {
27
sum_ -=
data_points_
[0];
28
data_points_
.pop_front();
35
if (
data_points_
.empty())
37
return static_cast<double>(sum_) /
data_points_
.size();
rate_counter.cc
26
data_points_
.push(std::make_pair(current_time, value));
47
while (!
data_points_
.empty()) {
48
if (
data_points_
.front().first > window_start)
51
sum_ -=
data_points_
.front().second;
52
data_points_
.pop();
running_average.h
32
// with the size of |
data_points_
|.
35
// Protects |
data_points_
| and |sum_|.
39
std::deque<int64>
data_points_
;
member in class:remoting::RunningAverage
41
// Holds the sum of the samples in |
data_points_
|.
rate_counter.h
50
std::queue<DataPoint>
data_points_
;
member in class:remoting::RateCounter
52
// Sum of values in |
data_points_
|.
Completed in 3558 milliseconds