emacs-devel
[Top][All Lists]
Advanced

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

Re: Elisp native profiler


From: Eli Zaretskii
Subject: Re: Elisp native profiler
Date: Mon, 01 Oct 2012 19:19:31 +0200

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Mon, 01 Oct 2012 12:31:55 -0400
> 
> > needs in the foreground thread.  This is with the default profiling
> > interval set by profiler.el, which causes the profiling timer be run
> > at 15 msec intervals, the minimal one supported by the emulated
> > itimer.
> 
> One potential problem I see is when the interval is smaller than what
> the OS really does.

I don't think this can happen, because the timers normally live in the
OS kernel, and their timeout is updated by the OS using the same
machinery that drives the scheduler.

But I'm not up to date with the latest kernels, maybe this is no
longer true.



reply via email to

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