Comments (2)
Global CPU usage is computed first, then all process CPU usage. So the second can differ from the first (should be a pretty small diff). The reason is simply because we don't stop the computer at a given point and same "give me all CPU information", we compute them one by one. And also, computing these CPU usage is also impacting global CPU, etc. Lots of fun. :)
It seems that when the CPU usage of some processes increases suddenly, the difference between the two is more obvious.
Thanks for answering questions! :)
from sysinfo.
Global CPU usage is computed first, then all process CPU usage. So the second can differ from the first (should be a pretty small diff). The reason is simply because we don't stop the computer at a given point and same "give me all CPU information", we compute them one by one. And also, computing these CPU usage is also impacting global CPU, etc. Lots of fun. :)
from sysinfo.
Related Issues (20)
- Unable to Retrieve User Groups on Windows HOT 1
- Remove `new_all` methods
- Println not working after refresh_cpu() HOT 3
- Temperatures on Linux unavailable HOT 1
- Is it possible to add volume_serial_number to the disk? HOT 1
- the process API on macOS can returned non UTF-8 String HOT 8
- Add memory frequency, type, and slot information HOT 1
- Only store CPU usage for global CPU and no other information HOT 1
- Return std::result HOT 4
- Add `serde::Serialize` for all the output types HOT 1
- Process priority/affinity support HOT 1
- OpenCloudOS get cpu_usage fail HOT 3
- Calling `Components::refresh_list` multiple times on M-series Mac causes segfault HOT 15
- Possible memory leak in `Disks::refresh_list` HOT 13
- Make Windows support optional HOT 2
- `test_refresh_memory` fails on macOS HOT 1
- Get HW ID for each Disk HOT 3
- No temperature output for Mac M3 Pro HOT 4
- Incorrect CPU arch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sysinfo.