Re: accept ... from time
- From: "Richard" <riplin@xxxxxxxxxxxx>
- Date: 23 Jan 2007 11:07:29 -0800
michael.bierenfeld@xxxxxx wrote:
I want to measure the execution time of a sql statement. Can I get the
time in milliseconds to be displayed.
START-TIME and END-TIME is pic x(8) this is hh24:mm:ss. But I need
fractions of seconds. How can I do this. Target System is Microfocus
and AIX.
You should check first the granularity of the time you receive. If you
accepted the time several times in a loop you may find that you get the
same time for several successive accepts and then a jump to the next
time which may be tens of milliseconds later.
That is there may be only a few different times that you receive in
each second. On PCs you will only get 18 different times in one second
no matter how many accepts are done. On AIX this may be higher.
If you need millisecond, or actual hundredths, you may need to use some
other mechanism.
.
- Follow-Ups:
- Re: accept ... from time
- From: Douglas Wells
- Re: accept ... from time
- References:
- accept ... from time
- From: michael.bierenfeld@xxxxxx
- accept ... from time
- Prev by Date: Re: searching for a cobol job
- Next by Date: Reading in file containing Low Values doesn't work correctly
- Previous by thread: Re: accept ... from time
- Next by thread: Re: accept ... from time
- Index(es):