Set TIMED_STATISTICS = TRUE and then use the
DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION procedure.