• 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: Microseconds and Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Microseconds and Carbon


  • Subject: Re: Microseconds and Carbon
  • From: email@hidden
  • Date: Mon, 4 Feb 2002 23:50:17 -0500

On Monday, February 4, 2002, at 08:54 PM, Matt Ronge wrote:

Hello,

I'm trying to measure microseconds for some benchmarking and it appears as
though the only way to measure microseconds is via Carbon.

Why not just include <sys/time.h>, and call gettimeofday. Then you are Carbon-free.
see "man gettimeofday" in your terminal window.


Hope that helps,

email@hidden


References: 
 >Microseconds and Carbon (From: Matt Ronge <email@hidden>)

  • Prev by Date: Re: Speed of Quartz (was: optimizing compilers)
  • Next by Date: Re: Speed of Quartz (was: optimizing compilers)
  • Previous by thread: Re: Microseconds and Carbon
  • Next by thread: rulers in NSTextViews, particularly vertical rulers
  • Index(es):
    • Date
    • Thread