MCPcopy
hub / github.com/grpc/grpc-go / startRPC

Method startRPC

interop/xds/client/client.go:158–162  ·  view source on GitHub ↗
(rpcType string)

Source from the content-addressed store, hash-verified

156}
157
158func (as *accumulatedStats) startRPC(rpcType string) {
159 as.mu.Lock()
160 defer as.mu.Unlock()
161 as.numRPCsStartedByMethod[convertRPCName(rpcType)]++
162}
163
164func (as *accumulatedStats) finishRPC(rpcType string, err error) {
165 as.mu.Lock()

Callers 1

makeOneRPCFunction · 0.80

Calls 3

convertRPCNameFunction · 0.85
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected