I have program, where there are as many threads as CPU count (logical) +2. These threads are blocked by waiting on semaphore to run, they are like agents. But lock and waits analysis counts time spent on non-signalled semaphore too (which is fairly long time), but I'd like to analyse time spent on mutexes or critical sections locks inside those agents when they are running (has been triggered). What should I do?
↧