In a word, "no." The scheduler executes thousands of times a second and may be doing so on several cores or CPUs at once. You could by some means snapshot the time consumed by each over some quantum of time, but what you'd really be doing is examining the characteristics of the workload .. the hard way.
In particular, you should never write any application that places any dependency or expectation as to the order in which threads may execute.
|