maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #06015
Re: Value returned by my_getcputime
Hi, Weldon!
On Aug 13, Weldon Whipple wrote:
> Hello!
>
> (This is my first post to this list; long-time follower, however.)
>
> I've been looking at the block comment at the top of the my_getcputime()
> function at the bottom of the file mysys/my_getsystime.c
>
> The block comment reads: Return cpu time in milliseconds * 10
>
> I interpret milliseconds * 10 to mean centiseconds (seconds * 10 ^ -2)
>
> I'm pretty sure I've convinced myself that it REALLY returns:
>
> seconds * 10 ^ -7
>
> I think it would be more accurate to have the block comment read:
>
> Return cpu time in microseconds / 10
Yes, you're right. I'll fix it. Thanks.
Regards,
Sergei
References