Measuring CPU utilization / scheduler statistics #5400
digitalentity
started this conversation in
General
Replies: 1 comment
-
|
We do not have this functionality right now. It would certainly be interesting to have! Adding this to TinyGo without increasing binary size when this feature isn't in use will be somewhat challenging. See also: https://pkg.go.dev/runtime/trace (not supported in TinyGo) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering whether there is a simple way of measuring the CPU utilization?
In other words - what fraction of time the scheduler is doing nothing, waiting for goroutines, timers, sleep or IO - essentially in
waitForEvents()orsleepTicks()in case of the cooperative scheduler.Beta Was this translation helpful? Give feedback.
All reactions