This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


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

Re: gprof and LinuxThreads


Geoff Keating <geoffk@ozemail.com.au> writes:

> I think what you want here is a high-resolution timer, read from
> _mcount.  That would be pretty easy to do (for version 2.2), we have
> the support now in glibc.

Well, this would require we have a call to a similar function at the
end of the function.  It's IMO no unrealistic goal since we already
have similar mechanisms for the gcov stuff.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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