Hacker News new | ask | show | jobs
by rbanffy 1765 days ago
> bill back resource usage

If you are not oversubscribed, you can just count the allocation.

Maybe performance counters can help. How long does it take to read op counts prior to a context switch?