Skip to content

Commit

Permalink
comment: fix comment in TimeDetail
Browse files Browse the repository at this point in the history
  • Loading branch information
ekexium committed Nov 13, 2023
1 parent 845e3b0 commit aa79e39
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,
// 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
Expand Down

0 comments on commit aa79e39

Please sign in to comment.