This is the mail archive of the gcc@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: change the sampling time in the gprof


Ian Lance Taylor <ian@wasabisystems.com> writes:

> On typical Unix systems, as well as on GNU/Linux, the precision of the
> gprof timer is determined by the behaviour of the profil() function.
> I don't know whether there is any way to adjust that on your
> particular system.

Linux (the kernel) does not implement profil().  glibc uses
setitimer() and SIGPROF for profiling.

zw


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