Tuesday, May 25, 2010

Re: function execution time

Would you be so kind so as to write me how to record time or show me
an example of how to measure time of function?
K.N

On 20 Maj, 15:40, "geocode...@gmail.com" <geocode...@gmail.com> wrote:
> On May 20, 6:22 am, Kataryzna Nowicka <kna...@poczta.fm> wrote:
>
> > How can I measure how long it takes to some function to execute, for
> > instance: I want to check how long it takes function getDir() to find
> > the route between two places.
>
> record the time when you make the call.
> record the time when the response comes back.
>
> take the difference and do with it as you will (output it to GLog or
> display it on the page are 2 options I have used)
>
>   -- Larry
>
>
>
> > Thank you for helping me.
>
> > K.N
>
> > --
> > You received this message because you are subscribed to the Google Groups "Google Maps API" group.
> > To post to this group, send email to google-maps-api@googlegroups.com.
> > To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/google-maps-api?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Google Maps API" group.
> To post to this group, send email to google-maps-api@googlegroups.com.
> To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/google-maps-api?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate