Re: TimGetTicks does not advance

2004-05-20 Thread Aaron Ardiri
> 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

TimGetTicks does not advance

2004-05-20 Thread Stefan Lange-Hegermann
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