(first uint64, second uint64)
| 177 | } |
| 178 | |
| 179 | func subtractAndConvertTicks(first uint64, second uint64) float64 { |
| 180 | return float64(first - second) |
| 181 | } |
| 182 | |
| 183 | func getCPUAverage(first CPUSample, second CPUSample) (avg CPUAverage) { |
| 184 | dTot := float64(second.Total - first.Total) |