This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Where is gethrtime() ?
- From: Ian Lance Taylor <ian at airs dot com>
- To: ernesto at ornl dot gov
- Cc: GCC-Help <gcc-help at gcc dot gnu dot org>
- Date: 23 Oct 2005 21:50:05 -0700
- Subject: Re: Where is gethrtime() ?
- References: <1130075166.24804.36.camel@localhost.localdomain>
"Ernest L. Williams Jr." <ernesto@ornl.gov> writes:
> I would like to play with high resolution timers under linux and GCC.
>
>
> Where is the function "gethrtime()" ?
This is the wrong mailing list. gcc does not include system
libraries. You should ask this question on a mailing list for the
libraries for whatever system you are targeting.
> Is that function only found on solaris?
Google shows it in a few other operating systems as well, generally
described as nonportable.
Ian