Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2008 12:34:14 -0600
From:      "Andrew Falanga" <af300wsm@gmail.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   High resolution timing in FreeBSD for program code
Message-ID:  <340a29540803261134y372d7be5k6d3c880fe320a3fe@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

What available functions in FreeBSD would be good for
finer-than-microsecond detail for timing of code execution?  Some
searches on the NG comp.unix.programmer turned up clock_gettime(),
which I see FreeBSD does support.  However, I was wondering if there
might be something better or used more often.  Secondly, I was
wondering if anyone here knows what this function, clock_gettime(),
uses for it's timing?

Thanks,
Andy

-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?340a29540803261134y372d7be5k6d3c880fe320a3fe>