I am doing some analysis of a multi-threaded application using the Apple Instruments tools, which give a lot of information I'm trying to make sense out of. I am trying to find a good resource to describe the thread states which are color-coded in the tool. I've been looking into XNU Kernel documentation and books but without much luck.
There is a lot of yellow and purple which correspond to the "preempted" and "supervisor" modes (the full color chart is described in the upper right pop up in the attached image). Given I'm spending so much time in these states as opposed to the "running" state (in blue), I would be particularly interested in knowing what they refer to and whether it is possible/desirable to minimise the time spent in these states.