« first day (3704 days earlier)      last day (1237 days later) » 

4:26 AM
yo, whats up guys?
 
 
5 hours later…
9:25 AM
Awwwww
 
 
2 hours later…
11:27 AM
so many things up
 
 
4 hours later…
user7659542
3:49 PM
But even more things down
 
user7659542
7:10 PM
Hmm interesting
 
user7659542
it looks like many companies are struggling with the same challenge, ie not being able to fully grasp their mutlitasked software. A real-time piece of software which has many tasks that have a lot of communication amongst each other using, semaphores, mutexes, message queues etc are not easy at all to debug
 
user7659542
it would be good if there was a tool out there which would detect which task is currently running, for how long and who holds which mutex
 
user7659542
a tool which would be able to plot somehting like this:
 
user7659542
 
user7659542
but something much more extensive
 
user7659542
7:15 PM
Maybe I should try to build such a tool and sell it. IDK whether such tools are already massively available on the market and whether they are used by many people
 
9:54 PM
@traducerad I don't know about sorting by priority, but there's plenty of tools to plot task intervals per thread onto a timeline
nvidia nvtx. XCode has performance markers, Intel has ittapi, and there's a bunch more
 
10:43 PM
Yeah the underlying problem with analyzing multithreaded code is that seeing how much you suck isn't a solution. You start needed dedicated people and massive refactoring to fix some of these things. So, at the end of the day following established patterns and facilitating them by using existing libraries is a better strategy.
So, one of the problems with tools like vtune etc for concurrency analysis is that we often encounter too much noise in the form of irrelevant data. This is especially true as most of problem senarios are live locks consisting of a few mutexes. What would be really be cool is something that would let us zoom into specific mutexes. For example, make an std::annotated_unique_lock which will then be somehow logged.
 

« first day (3704 days earlier)      last day (1237 days later) »