| 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()) { |