I have a multi-threaded program in C # where I need to register how many ticks of each thread are spent on a specific wait lock.
I know that there are methods for this from C or assembler, but is it possible from accessing the same counter directly from C # in some way, that is, without going through the Stopwatch class (I assume that Start / Stop on is called that has some overhead and I'm not sure how accurate this is)?
source
share