bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#20843: 24.5; Profiler error: "Invalid sampling interval"


From: Ken Brown
Subject: bug#20843: 24.5; Profiler error: "Invalid sampling interval"
Date: Mon, 22 Jun 2015 17:15:15 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 6/22/2015 11:12 AM, Eli Zaretskii wrote:
Date: Mon, 22 Jun 2015 07:57:13 -0400
From: Ken Brown <kbrown@cornell.edu>
CC: Eli Zaretskii <eliz@gnu.org>, 20843@debbugs.gnu.org

For me to understand, does this mean we never will be able to start the
profiler under Cygwin Emacs?

I wouldn't say "never".  According to the Cygwin API documentation
(https://cygwin.com/cygwin-api/std-notes.html), "getitimer and setitimer only
support ITIMER_REAL for now."  I'll ask on the Cygwin list about the possibility
of supporting ITIMER_PROF.

If what Corinna suggested on the Cygwin list doesn't fit the bill,
perhaps consider reusing the w32 code, which emulates setitimer, and
does support ITIMER_PROF well enough for the profiler to be usable.

Corinna's suggestion seems to work. I'll apply a patch shortly so that Seb can test it.

Ken





reply via email to

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