Home
last modified time | relevance | path

Searched refs:cost_value (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/cpp/server/load_reporter/
Dutil.cc32 const grpc::string& cost_name, double cost_value) { in AddLoadReportingCost() argument
33 if (std::isnormal(cost_value)) { in AddLoadReportingCost()
35 buf.resize(sizeof(cost_value) + cost_name.size()); in AddLoadReportingCost()
36 memcpy(&(*buf.begin()), &cost_value, sizeof(cost_value)); in AddLoadReportingCost()
37 memcpy(&(*buf.begin()) + sizeof(cost_value), cost_name.data(), in AddLoadReportingCost()
/external/grpc-grpc/include/grpcpp/ext/
Dserver_load_reporting.h47 const grpc::string& cost_name, double cost_value);
/external/grpc-grpc/src/core/ext/filters/load_reporting/
Dserver_load_reporting_filter.cc297 double cost_value = *cost_entry_ptr++; in SendTrailingMetadataFilter() local
301 {{::grpc::load_reporter::MeasureOtherCallMetric(), cost_value}}, in SendTrailingMetadataFilter()