On Thu, 15 Feb 2007 17:15:53 +0300
Al Boldi <[EMAIL PROTECTED]> wrote:
> 于野 wrote:
> > I'm a Chinese OIer(which is short for someone who has intersts in
> > 'Olympiad in Informatics'). Now I'm using Lazarus to debug. but
> > every time when I want to know how much time it spend during the
> > program runs, I have to add something like this: var
> > ta,tb:Tsystemtime; begin
> > datetimetosystemtime(now,ta);
> > ........
> > ........
> > datetimetosystemtime(now,tb);
> > writeln(....);
> > end.
> > It's so boring.
>
> I got bored too, so I wrote TElapsed.
Did you try 'time' and gprof (Linux, MacOSX and FreeBSD)?
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives