Al Boldi wrote:Peter Williams wrote:
twice:
1. for external proc monitoring, using a probed approach
2. for scheduling, using an inlined approach
Not exactly (e.g. there's no separation between user and sys time available in line) but the possibilities are there.
Wouldn't merging the two approaches be in the interest of conserving cpu resources, while at the same time reflecting an accurate view of cpu utilization?
I think that this would be a worthwhile endeavour once/if sched_clock() is fixed. This is especially the case as CPUs get faster as many tasks may run to completion in less than a tick.
Attachment:
pgp00000.pgp
Description: PGP signature