emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Elisp native profiler


From: Stefan Monnier
Subject: Re: Elisp native profiler
Date: Tue, 02 Oct 2012 09:00:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

>> Isn't there another difference in that your code samples at a rate
>> determined by the wall-clock time rather than the cpu-time of the process?
> I'm afraid many POSIXish systems get this wrong too.  Some don't
> even claim to support CPU-time timers.  Others claim to, but
> silently substitute wall-clock time.  One really can't take sample
> intervals as if they were gospel; they're not.  It's better to
> think of them as just samples of the CPU.

At least the original setitimer code did sample based on cpu-time, based
on my test under GNU/Linux.  I hope your new code does too.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]