¤¤¤ How fast is your Symbian Code running ¤¤¤

If you want to know how fast your programs or algorithms are running in Symbian you can use the following methods.

TInt t1 = User::TickCount();

// Do something

TInt t2 = User::TickCount();
TInt diff = t2-t1;

One tick is different depending on which phone you own.
To get the tick count on your phone you can call:
User::LeaveIfError(HAL::Get(HALData::ESystemTickPeriod, period));

For the Nokia 6680 it is 15.625 microsecond pr tick.

# posted by Thomas @ 11:07 AM  



Comments: Post a Comment

<< Home