Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> which system call is used to measure wait time ?

which system call is used to measure wait time ?

From: <danisment_at_yahoo.com>
Date: Tue, 30 Jan 2001 11:21:56 GMT
Message-ID: <95684h$pcq$1@nnrp1.deja.com>

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US