Re: Getting system info
Re: Getting system info
- Subject: Re: Getting system info
- From: James Brasure <email@hidden>
- Date: Sat, 4 Aug 2001 00:05:43 -0600
There is a function in Carbon called Microseconds() that gives you the
number of microseconds that have elapsed since system startup. There is
also a function called TickCount() that gives you the number of ticks
since startup, but I'm not sure if it's supported in Carbon.
void Microseconds (UnsignedWide *microTickCount);
Hope that helps,
James Brasure
On Friday, August 3, 2001, at 05:19 PM, cocoa-dev-
email@hidden wrote:
From: Christian Mike <email@hidden>
To: "'Cocoa List'" <email@hidden>
Subject: Getting system info
Date: Fri, 3 Aug 2001 15:13:33 -0500
Is there any way from within Cocoa to get system information -
specifically
how long the computer has been up?