Am 30.11.2014 16:03, schrieb misu kun:
> thanks
>
> do you mean  application.beginhighrestimer() should be called inside
> ontimer event ?

No, it can be done in oncreate or in main program before creating the 
forms. to_highres is on the way BTW.

> if so , how do i get the counter value in microsecond , i mean which function?
> or i should create an integer and increment it inside ontimer event ?
>
Yes, use an integer counter in ontimer. The interval has high precision 
apart from jitter. timestamp() from unit sysutils returns microseconds 
but also needs application.beginhighrestimer() on Windows in order to 
produce 1 ms jitter.

Martin

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to