Not sure if even this would help.
Went to a MS presentation, last year so the memory is fuzzy, about Win2003. They did demo some form of software that did do that. But at the OS level. I.e. SQL Server could only get ? cpu etc. I don't think it went down into sub processes like you explain.