MCPcopy Create free account
hub / github.com/baidu/tera / GetTimeoutCnt

Method GetTimeoutCnt

src/sdk/table_impl.h:221–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 void DoDumpPerfCounterLog(const std::string& log_prefix);
220
221 Counter GetTimeoutCnt(SdkTask* task) {
222 switch (task->Type()) {
223 case SdkTask::READ:
224 return reader_timeout_cnt;
225 case SdkTask::MUTATION:
226 case SdkTask::BATCH_MUTATION:
227 return mutate_timeout_cnt;
228 default:
229 abort();
230 }
231 }
232
233 Counter GetRangeCnt(SdkTask* task) {
234 switch (task->Type()) {

Callers 1

TaskTimeoutMethod · 0.80

Calls 1

TypeMethod · 0.45

Tested by

no test coverage detected