Home
last modified time | relevance | path

Searched refs:LoadRecordValue (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/test/cpp/server/load_reporter/
Dload_data_store_test.cc38 using ::grpc::load_reporter::LoadRecordValue;
216 store_lb_id_1->MergeRow(kKey1, LoadRecordValue()); in TEST_F()
217 store_invalid_lb_id_1->MergeRow(kKey1, LoadRecordValue()); in TEST_F()
233 store_lb_id_1->MergeRow(kKey1, LoadRecordValue()); in TEST_F()
234 store_invalid_lb_id_1->MergeRow(kKey1, LoadRecordValue()); in TEST_F()
308 LoadRecordValue v1(192); in TEST_F()
311 LoadRecordValue v2(23); in TEST_F()
316 LoadRecordValue v3(952); in TEST_F()
330 LoadRecordValue v4(0, v1.start_count()); in TEST_F()
340 LoadRecordValue v5(0, v2.start_count()); in TEST_F()
[all …]
/external/grpc-grpc/src/cpp/server/load_reporter/
Dload_data_store.h124 class LoadRecordValue {
126 explicit LoadRecordValue(uint64_t start_count = 0, uint64_t ok_count = 0,
136 LoadRecordValue(grpc::string metric_name, uint64_t num_calls,
139 void MergeFrom(const LoadRecordValue& other) { in MergeFrom()
198 std::unordered_map<LoadRecordKey, LoadRecordValue, LoadRecordKey::Hasher>;
205 void MergeRow(const LoadRecordKey& key, const LoadRecordValue& value);
317 const LoadRecordValue& value);
Dload_data_store.cc135 LoadRecordValue::LoadRecordValue(grpc::string metric_name, uint64_t num_calls, in LoadRecordValue() function in grpc::load_reporter::LoadRecordValue
142 const LoadRecordValue& value) { in MergeRow()
289 const LoadRecordValue& value) { in MergeRow()
Dload_reporter.cc408 LoadRecordValue value = LoadRecordValue(start_count); in ProcessViewDataCallStart()
459 LoadRecordValue value = LoadRecordValue( in ProcessViewDataCallEnd()
486 LoadRecordValue value = LoadRecordValue( in ProcessViewDataOtherCallMetrics()