Skip to content

Commit

Permalink
Fix comment of SuspendTime (#1057)
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <eke@fastmail.com>
Co-authored-by: disksing <i@disksing.com>
  • Loading branch information
ekexium and disksing authored Nov 14, 2023
1 parent 6ba909c commit c129e1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions util/execdetails.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
// this is total duration, which is almost the same with grpc duration.
KvReadWallTime time.Duration
// TotalRPCWallTime is Total wall clock time spent on this RPC in TiKV.
TotalRPCWallTime time.Duration
Expand Down

0 comments on commit c129e1b

Please sign in to comment.