|
From: John R. <jr...@bi...> - 2011-11-22 05:50:08
|
> Another candidat seems to be the access counters incrementing all the time > (and the indirection to get to the counters). It should be possible to do one > counter per side exit, and add up the final counters at the end. Unfortunately in general Kirchhoff's law does _NOT_ apply to software because of things like setjmp/longjmp, getcontext/setcontext, exit(), debuggers, etc. If you want to know how many times something is executed, then you must count that directly. -- |