The waiting Time and the Processing Time

Hello Every body,

Is it possible via Optimize or other means to display the global waiting time (the time that a case spends in idle mode) and the processing time (the time that resources spend on actually handling a case) of a process.

Thank you in advance for your help.

Best regards.