OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CallMetricValue
(Results
1 - 4
of
4
) sorted by null
/external/grpc-grpc/src/cpp/server/load_reporter/
load_data_store.h
41
// metrics, mapping from a call metric name to the
CallMetricValue
.
44
class
CallMetricValue
{
46
explicit
CallMetricValue
(uint64_t num_calls = 0,
50
void MergeFrom(
CallMetricValue
other) {
148
const
CallMetricValue
& value = p.second;
168
const
CallMetricValue
& metric_value) {
179
const std::unordered_map<grpc::string,
CallMetricValue
>& call_metrics()
191
std::unordered_map<grpc::string,
CallMetricValue
> call_metrics_;
load_data_store.cc
138
CallMetricValue
(num_calls, total_metric_value));
load_reporter.cc
322
const
CallMetricValue
& metric_value = p.second;
/external/grpc-grpc/test/cpp/server/load_reporter/
load_data_store_test.cc
35
using ::grpc::load_reporter::
CallMetricValue
;
397
v1.InsertCallMetric(kMetric1,
CallMetricValue
(3, 2773.2));
399
v2.InsertCallMetric(kMetric1,
CallMetricValue
(7, 25.234));
400
v2.InsertCallMetric(kMetric2,
CallMetricValue
(2, 387.08));
403
v3.InsertCallMetric(kMetric1,
CallMetricValue
(61, 3465.0));
404
v3.InsertCallMetric(kMetric2,
CallMetricValue
(13, 672.0));
Completed in 207 milliseconds