Just adding a note there exist MQX Performance Tool plugin for CodeWarrior that analyzes kernel log, it can display:
-Timeline graph of task switches, interrupts, synchronization objects, etc.
-Task Stack view which displays size of stacks and used stack sizes of all tasks.
-CPU Usage view displaying a pie chart of CPU runtime allocation among different tasks.
-Performance Data viewer
\doc\tools\cw\FSL_MQX_PerfTool_getting_started.pdf