Would that be a senior brain fart? 


Thanks,
Tommy Holden


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James H H Lampert
Sent: Monday, February 05, 2007 6:58 PM
To: Midrange Systems Technical Discussion
Subject: Re: Detecting execution bottlenecks

James Rich <james@xxxxxxxxxxx> wrote:
gettimeofday() should get you what you need.  It uses a 
struct timeval:

struct timeval {
    time_t      tv_sec;     /* seconds */
    suseconds_t tv_usec;    /* microseconds */
};

Thanks. I'm not sure whether to classify my failure to 
look at the Unix-type APIs as a senior moment, a brain 
fart, or both.

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.