How tasks are allocated on each executor
Get the cores for each executor allocated
If the app is using fair scheduler, return all the pools being used.
Can be different from
getCurrentCores since one task can sometimes use more than 1 cores
the source to analyze
the state to analyze