src/client/pps.go
func GetDatumTotalTime(s *pps.ProcessStats) time.Duration {
	totalDuration := time.Duration(0)
	duration, _ := types.DurationFromProto(s.DownloadTime)
	totalDuration += duration
	duration, _ = types.DurationFromProto(s.ProcessTime)
	totalDuration += duration
	duration, _ = types.DurationFromProto(s.UploadTime)
	totalDuration += duration
	return totalDuration
}
func GetDatumTotalTime(s *pps.ProcessStats) time.Duration {
	totalDuration := time.Duration(0)
	duration, _ := types.DurationFromProto(s.DownloadTime)
	totalDuration += duration
	duration, _ = types.DurationFromProto(s.ProcessTime)
	totalDuration += duration
	duration, _ = types.DurationFromProto(s.UploadTime)
	totalDuration += duration
	return totalDuration
}
func GetDatumTotalTime ( s * pps . ProcessStats ) time . Duration { totalDuration := time . Duration ( 0 ) duration , _ := types . DurationFromProto ( s . DownloadTime ) totalDuration += duration duration , _ = types . DurationFromProto ( s . ProcessTime ) totalDuration += duration duration , _ = types . DurationFromProto ( s . UploadTime ) totalDuration += duration return totalDuration }
// GetDatumTotalTime sums the timing stats from a DatumInfo
GetDatumTotalTime sums the timing stats from a DatumInfo