select
class, -- CLASS VARCHAR2(18)
count, -- COUNT NUMBER
time -- TIME NUMBER
from
gv$waitstat
where
inst_id = USERENV('Instance')