Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> which system call is used to measure wait time ?
hello,
which system call is used to measure wait time ?
I guess following method is wrong:
t0 := get_time_from_v$timer;
wait();
t1 := get_time_from_v$timer;
wait_time := t1 - t0;
wait_time may show wrong becasue CPU may be still used by process during wait() because of tight loop or OS timer signal SIGALRM to check resource is available.
regards...
Sent via Deja.com
http://www.deja.com/
Received on Tue Jan 30 2001 - 05:21:56 CST
![]() |
![]() |