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: Mon, 01 Oct 2012 22:06:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> In a nutshell, that thread sleeps until the timer expiration, then
> suspends the main thread, calls the SIGPROF handler, resumes the main
> thread, and goes back to sleep.  The deviation from the Posix
> semantics is that the handler runs in the context of a thread other
> than the main thread.

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?


        Stefan



reply via email to

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