From aa79e394547dc68db82ef2854b7726f14ca39521 Mon Sep 17 00:00:00 2001 From: ekexium Date: Mon, 13 Nov 2023 14:09:11 +0800 Subject: [PATCH] comment: fix comment in TimeDetail --- util/execdetails.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/execdetails.go b/util/execdetails.go index 3a120c45e..a98962ad2 100644 --- a/util/execdetails.go +++ b/util/execdetails.go @@ -609,12 +609,13 @@ type TimeDetail struct { // cannot be excluded for now, like Mutex wait time, which is included in this field, so that // this field is called wall time instead of CPU time. ProcessTime time.Duration - // Cpu wall time elapsed that task is waiting in queue. + // Time elapsed when a coprocessor task yields itself. SuspendTime time.Duration // Off-cpu wall time elapsed in TiKV side. Usually this includes queue waiting time and // other kind of waits in series. WaitTime time.Duration - // KvReadWallTime is the time used in KV Scan/Get. + // KvReadWallTime is the time used in KV Scan/Get. For get/batch_get, + // it also includes the time of spawning and queueing. KvReadWallTime time.Duration // TotalRPCWallTime is Total wall clock time spent on this RPC in TiKV. TotalRPCWallTime time.Duration