Open PhoenixBlack opened 8 years ago
Eagerly awaiting for this. I've already got the realtime system part one, but now I don't know how to debug tasks running on the system as I can't measure how much time each task takes.
Any updates on this? Seems like a pretty simple thing to add, but it's been very silent for a long time.
This has been fixed by #2890
Would it be possible to add an interface to the VM which returns number of instructions executed total so far by the VM? It does not have to be very precise (e.g. whether it counts the instruction fetching this value doesn't matter), simply an approximate measure of how many instructions executed (as a much more fine-grained measure of program execution than time - but not a temporal measure).
Use-case - making cooperative multi-tasking is made much easier when the system can measure amount of instructions spent in each task for diagnostics