I'm currently trying to find a function called mach_absolute_time, to use as replacement for gettickcount in MacOS.
(I've been using Now() function, but seems to don't have enough precision).
The problem is, I can not find this mach_absolute_time() function anywhere!
And I also need mach_timebase_info, seems that both this functions are available for mac and iphone, and are used for high precision timing.

I've downloaded FPC source from svn, searched through all files, and find two references to those functions, but just comments, not the actual function documentation.
I also tried declaring the function as external, but it gives a linker error (and probably the calling stack should be cdecl or something else, I don't know)
Function mach_absolute_time():Int64; External;

Help?