func notImplemented(fn string) { … } func getSimpleCPUAverage(first CPUSample, second CPUSample) (avg SimpleCPUAverage) { … } func subtractAndConvertTicks(first uint64, second uint64) float64 { … } func getCPUAverage(first CPUSample, second CPUSample) (avg CPUAverage) { … } func getProcCPUAverage(first ProcCPUSample, second ProcCPUSample, procUptime float64) (avg ProcCPUAverage) { … } func parseCPUFields(fields []string, stat *CPUSample) { … }