List:Internals« Previous MessageNext Message »
From:  Date:June 29 2006 5:36pm
Subject:High precision time
View as plain text  
2 questions:

1) Is there a function to return the current time to a precision of milliseconds ( ie.
micronow() )?  

2) is there a function to return the elapsed time of the last query executed (similar to
found_rows()).

The reason I ask is that I am trying to track and store the times it takes to run my
stored procedure. So, within the procedure I would like to store the time at the start
and again at the end and then do a calculation to get the difference which I would then
store in a logging table. 

If the answer is no, can you point me to the code for now() or similar so I could
investigate adding such a function?

Thanks,
Bill Willits
Thread
High precision timebwillits29 Jun
  • RE: High precision timeRick James29 Jun
  • Re: High precision timeSergei Golubchik30 Jun
RE: High precision timebwillits29 Jun
  • Re: High precision timeWojciech Meler30 Jun
Re: High precision timebwillits30 Jun
Re: High precision timebwillits1 Jul