Commit Graph

25 Commits (1915e9377e8ef713011babf35afc58c065f19efe)

Author SHA1 Message Date
shirou e9591b5b01 rename redundant test function names, such as TestCPU in cpu package 10 months ago
shirou bc060cc227 add SPDX License, remove old build tag, and replace import 10 months ago
shirou febdeab871 chore: change CIRCLECI environment variable to CI. 2 years ago
Matthieu MOREL 1fb1e3e3e6 ci(lint): correct gci linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
mmorel-35 1e6b445a8a gofumpt 3 years ago
Matthieu MOREL b673968d5d
enable errorlint linter 3 years ago
shirou 0969c9436b delete v2 directory, move v3 to top #1078 3 years ago
shirou f377a07e5a fix test and openbsd errors. 4 years ago
Lomanic 7700262175 [cpu][linux] Fix #849 implement giampaolo/psutil#1727 in Counts() for physical cores 5 years ago
Lomanic 38f6ed0e0c [cpu] Skip tests on non-implemented platforms #446 5 years ago
shirou cae8efcffa [cpu]: remove unused field Stolen
see #676
6 years ago
marcospedreiro f0ebb60b86 handle pr comments: use assert.InEpsilon 6 years ago
marcospedreiro 3cc34ebf18 windows cpu time (true) should return cpu time not percentages 6 years ago
Ben Aldrich c389989453 calculate cpu percentage compared to last call if 0 interval is given 9 years ago
Shirou WAKAYAMA 4bb84648bf JSON representation is renamed to fit Google JSON style, camelCase. 9 years ago
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
Shirou WAKAYAMA 7f22150707 CPU num is different on the CircleCI environemnt, so we skip it. 9 years ago
Daniel Theophanes 726e7c6406 cpu: fix cpu test on small ARM device where CPU can be at 100%+rounding.
Fixes #99
10 years ago
WAKAYAMA Shirou ead8393137 cpu: use wmic to get CPU usage on Windows. 10 years ago
WAKAYAMA Shirou ec2b509dda cpu: skip percpu percent test if windows. Windows can only get one CPU info currently. 10 years ago
WAKAYAMA Shirou 4694ce0e4d cpu: use wmic to get CPUInfo on Windows 10 years ago
Shirou WAKAYAMA 753ea1bb48 fix when converting CPUTimes to JSON, sometimes idel have exponent 10 years ago
Shirou WAKAYAMA 4b5bf22b88 change CPUTimes type from float32 to float64 to resolve precision issue. 10 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 10 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 10 years ago