SQL>
SQL> create or replace procedure modtest
2 as
3 begin
4 dbms_profiler.start_profiler('mod');
5 for x in 1..1000 loop
6 if mod(x,100) = 0 then null; end if;
7 end loop;
8 dbms_profiler.stop_profiler;
9 end;
10 /
SQL>