Smaller than milliseconds?
Ray G. Miller
rgmiller at pacbell.net
Fri Jul 11 14:33:00 EDT 2003
From: Dar Scott <dsc at swcp.com>
>>try this:
>
> on mouseUp
> put the long seconds into time1
> put the long seconds into time2
> put "the long seconds: " & time2 && "delta: " & (time2-time1) & LF
> into field "Report"
> put the ticks into time1
> put the ticks into time2
> put "the ticks: " & time2 && "delta: " & (time2-time1) & LF after
> field "Report"
> put the milliseconds into time1
> put the milliseconds into time2
> put "the milliseconds: " & time2 && "delta: " & (time2-time1) & LF
> after field "Report"
> put the long ticks into time1
> put the long ticks into time2
> put "the long ticks: " & time2 && "delta: " & (time2-time1) & LF
> after field "Report"
> put the long milliseconds into time1
> put the long milliseconds into time2
> put "the long milliseconds: " & time2 && "delta: " & (time2-time1) & LF after field "Report"
> end mouseUp
>
> On my OS X, I get this:
>
> the long seconds: 1057873624.51924 delta: 0.000009
> the ticks: 63472417471 delta: 0
> the milliseconds: 1057873624527 delta: 0
> the long ticks: 63472417471.80954 delta: 0.000778
> the long milliseconds: 1057873624533.140991 delta: 0.014038
>
Yep, the same thing (at a different time ;-) ) with MOS 9.2...
the long seconds: 1057947474.546898 delta: 0.000007
the ticks: 63476848472 delta: 0
the milliseconds: 1057947474549 delta: 0
the long ticks: 63476848473.015358 delta: 0.000359
the long milliseconds: 1057947474551.332031 delta: 0.005005
I guess we can compare the actual speed of our CPUs.
Looks like mine is a bit quicker.... ;-)
Ray G. Miller
__________________
Turtlelips Productions
4009 Everett Ave.
Oakland, CA 94602
MailTo:rgmiller at pacbell.net
(V) 510.530.1971
(F) 510.482.3491
More information about the metacard
mailing list