This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where is gethrtime() ?


On Sun, 2005-10-23 at 21:50 -0700, Ian Lance Taylor wrote:
> "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.
Oops.  I will ask this on the linux mailing list.


> 
> > Is that function only found on solaris?
> 
> Google shows it in a few other operating systems as well, generally
> described as nonportable.
I won't use it then.

> 
> Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]