MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / set_timing

Method set_timing

client/hstest.cpp:1014–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1012}
1013
1014void
1015hstest_thread::set_timing(double time_spent)
1016{
1017 response_min = std::min(response_min, time_spent);
1018 response_max = std::max(response_max, time_spent);
1019 response_sum += time_spent;
1020 if (op_success_count != 0) {
1021 response_avg = response_sum / op_success_count;
1022 }
1023}
1024
1025void
1026hstest_thread::test_11(int test_num)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected