mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This function used to be a private part of process.go. Since I needed that functionality however I think it's better to make it public than for me to copy it into my own code. As a side effect of this change, I also fixed a bug in the function where Stolen was not part of the sum. Having the function close to the CPUTimesStat declaration will make problems like this less likely to re-occur in the future. |
9 years ago | |
---|---|---|
.. | ||
expected/darwin | 10 years ago | |
binary.go | 10 years ago | |
process.go | 9 years ago | |
process_darwin.go | 9 years ago | |
process_darwin_amd64.go | 10 years ago | |
process_freebsd.go | 9 years ago | |
process_freebsd_386.go | 10 years ago | |
process_freebsd_amd64.go | 10 years ago | |
process_linux.go | 9 years ago | |
process_linux_386.go | 10 years ago | |
process_linux_amd64.go | 11 years ago | |
process_linux_arm.go | 11 years ago | |
process_posix.go | 11 years ago | |
process_posix_test.go | 11 years ago | |
process_test.go | 10 years ago | |
process_windows.go | 9 years ago | |
types_darwin.go | 10 years ago |