[Top][All Lists]

[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: Tue, 25 Sep 2012 15:18:23 +0200

> From: Stefan Monnier <address@hidden>
> Date: Mon, 24 Sep 2012 22:41:37 -0400
> The native profiler is pretty much ready for inclusion in the trunk.
> But I'm not sure how to update src/makefile-w32 so as to add the new
> profiler.o file.
> Could someone check out the `profiler' branch and fix it so it compiles
> under w32 as well?

How do you mean "compiles"?  If you want the profiler to actually work
in the w32 build, additional code needs to be written, to replace
setitimer and the SIGPROF signal, which aren't supported on Windows.

If you only mean to exclude the HAVE_SETITIMER parts, then that's a
simpler job, but then sampling of the call stack will not work.  If
you want this part of Emacs 24.3, it would make sense to work on
implementing the alternative to setitimer and SIGPROF now.

reply via email to

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