> I wanted to calculate the number of ticks it takes to execute { some
> code }, but the following does always return 0:
>
>
> UInt32 sysTicks,runTicks;
> char temp[50];
>
> sysTicks=TimGetTicks();
>
> { some code }
>
> runTicks=TimGetTicks()-sysTicks;
> StrPrintF( temp, "%u", runTicks );
> WinDraw
Hi!
I wanted to calculate the number of ticks it takes to execute { some
code }, but the following does always return 0:
UInt32 sysTicks,runTicks;
char temp[50];
sysTicks=TimGetTicks();
{ some code }
runTicks=TimGetTicks()-sysTicks;
StrPrintF( temp, "%u", runTicks );
WinDrawChars(temp,StrLen(temp