Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hongyunyan committed Nov 28, 2022
1 parent 0a86ff3 commit 6837292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/execdetails/execdetails.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ func (crs *CopRuntimeStats) GetActRows() (totalRows int64) {
}

// MergeBasicStats traverses basicCopRuntimeStats in the CopRuntimeStats and collects some useful information.
func (crs *CopRuntimeStats) MergeBasicStats() (procTimes []time.Duration, totalTime time.Duration, totalTasks, totalLoops, totalThreads int32, totalTiFlashScanContext *TiFlashScanContext) {
func (crs *CopRuntimeStats) MergeBasicStats() (procTimes []time.Duration, totalTime time.Duration, totalTasks, totalLoops, totalThreads int32, totalTiFlashScanContext TiFlashScanContext) {
procTimes = make([]time.Duration, 0, 32)
totalTiFlashScanContext = &TiFlashScanContext{}
totalTiFlashScanContext = TiFlashScanContext{}
for _, instanceStats := range crs.stats {
for _, stat := range instanceStats {
procTimes = append(procTimes, time.Duration(stat.consume)*time.Nanosecond)
Expand Down

0 comments on commit 6837292

Please sign in to comment.