Re: GetTickCount on the mac
Re: GetTickCount on the mac
- Subject: Re: GetTickCount on the mac
- From: Tommy Nordgren <email@hidden>
- Date: Fri, 30 Jan 2009 22:32:00 +0100
On Jan 30, 2009, at 3:27 PM, Christopher Khaljah Xu wrote:
Hi there!
I'm a rookie on a mac. I've been trying to port some windows
programs that was written in C/C++ onto the mac.
I need to rewrite a timer that measures CPU ticks between the start
and end of an operation. I wonder if there is something in the mac
api similar as GetTickCount or GetTickCount64 ?
#include <CoreServices/CoreServices.h>
long TickCount();
//Found in ca one minute by searching the Xcode docs for for symbols
containing 'TickCount'
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden