open-power-sdk / splat

System Performance Lock Analysis Tool
GNU General Public License v2.0
6 stars 1 forks source link

track tasks #1

Open ThinkOpenly opened 6 years ago

ThinkOpenly commented 6 years ago

We need to track the respective per-task times of the mutexes also relative to the lifetimes of the tasks.

For example, we may have a task 4 which uses mutex 6 for a total of 2 ms. The task lifetime may be 10 ms, but the trace duration may be 1000 ms. It is interesting to know that the mutex is used for 20% of the task lifetime.