Re: [cc65] fastcall time

From: Greg King <gngking1erols.com>
Date: 2007-05-25 04:07:51
From: Ullrich von Bassewitz; on Thursday, May 24, 2007; at 05:18 PM -0400
>
> On Thu, May 24, 2007 at 05:13:41PM -0400, German Gonzalez wrote:
> > I'm trying to use time_t __fastcall__ time (time_t* t); to see how
> > much time takes some specific task.
>
> Using clock() is probably a better idea.
>
> > Anybody has a snippet how to declare the struct time targeting Atari
> > machine.
>
> Which "struct time"? Do you mean time_t? This is not a struct,
> but an integral data-type.

Also, the "time.h" header file defines both time_t and clock_t.  You will
need to know how wide clock_t is when you write your format string for
printf() [use %lu].
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri May 25 04:11:04 2007

This archive was generated by hypermail 2.1.8 : 2007-05-25 04:11:09 CEST