Home
last modified time | relevance | path

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

/external/grpc-grpc/test/cpp/microbenchmarks/
Dfullstack_unary_ping_pong.h54 struct ServerEnv { in BM_UnaryPingPong() struct
58 ServerEnv() : response_writer(&ctx) {} in BM_UnaryPingPong() function
60 uint8_t server_env_buffer[2 * sizeof(ServerEnv)]; in BM_UnaryPingPong()
61 ServerEnv* server_env[2] = { in BM_UnaryPingPong()
62 reinterpret_cast<ServerEnv*>(server_env_buffer), in BM_UnaryPingPong()
63 reinterpret_cast<ServerEnv*>(server_env_buffer + sizeof(ServerEnv))}; in BM_UnaryPingPong()
64 new (server_env[0]) ServerEnv; in BM_UnaryPingPong()
65 new (server_env[1]) ServerEnv; in BM_UnaryPingPong()
88 ServerEnv* senv = server_env[slot]; in BM_UnaryPingPong()
100 senv->~ServerEnv(); in BM_UnaryPingPong()
[all …]
Dbm_fullstack_trickle.cc369 struct ServerEnv { in BM_PumpUnbalancedUnary_Trickle() struct
373 ServerEnv() : response_writer(&ctx) {} in BM_PumpUnbalancedUnary_Trickle() argument
375 uint8_t server_env_buffer[2 * sizeof(ServerEnv)]; in BM_PumpUnbalancedUnary_Trickle()
376 ServerEnv* server_env[2] = { in BM_PumpUnbalancedUnary_Trickle()
377 reinterpret_cast<ServerEnv*>(server_env_buffer), in BM_PumpUnbalancedUnary_Trickle()
378 reinterpret_cast<ServerEnv*>(server_env_buffer + sizeof(ServerEnv))}; in BM_PumpUnbalancedUnary_Trickle()
379 new (server_env[0]) ServerEnv; in BM_PumpUnbalancedUnary_Trickle()
380 new (server_env[1]) ServerEnv; in BM_PumpUnbalancedUnary_Trickle()
402 ServerEnv* senv = server_env[slot]; in BM_PumpUnbalancedUnary_Trickle()
414 senv->~ServerEnv(); in BM_PumpUnbalancedUnary_Trickle()
[all …]
/external/grpc-grpc/test/cpp/performance/
Dwrites_per_rpc_test.cc183 struct ServerEnv { in UnaryPingPong() struct
187 ServerEnv() : response_writer(&ctx) {} in UnaryPingPong() function
189 uint8_t server_env_buffer[2 * sizeof(ServerEnv)]; in UnaryPingPong()
190 ServerEnv* server_env[2] = { in UnaryPingPong()
191 reinterpret_cast<ServerEnv*>(server_env_buffer), in UnaryPingPong()
192 reinterpret_cast<ServerEnv*>(server_env_buffer + sizeof(ServerEnv))}; in UnaryPingPong()
193 new (server_env[0]) ServerEnv; in UnaryPingPong()
194 new (server_env[1]) ServerEnv; in UnaryPingPong()
215 ServerEnv* senv = server_env[slot]; in UnaryPingPong()
226 senv->~ServerEnv(); in UnaryPingPong()
[all …]