Hi Tony,
I haven't seen Glenn's code so I can't comment on it. My code reads from sys.dm_os_wait_stats and then produces a report from the top 10 in descending order.
As you can see, it basic and is data collected by Microsoft SQL server.
Not sure what else I can say.
Thanks again!
Rudy
Rudy