in report/reporter.go [41:51]
func NewReporter(reportDuration int, size int64, totalWorkers uint64) *Reporter {
return &Reporter{
reportDuration: time.Duration(reportDuration),
closeCh: make(chan struct{}),
fileSize: size,
TotalWorkers: totalWorkers,
FinishedWorkers: 0,
FailedWorkers: make(map[int]int),
Lock: sync.Mutex{},
}
}