• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting system info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?


  • Prev by Date: Re: More learning questions
  • Next by Date: Very weird windowWillClose behavior
  • Previous by thread: Re: Getting system info
  • Next by thread: Creating umbrella frameworks?
  • Index(es):
    • Date
    • Thread