[Top][All Lists]

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

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

From: Sebastien Vauban
Subject: bug#20843: 24.5; Profiler error: "Invalid sampling interval"
Date: Tue, 23 Jun 2015 10:39:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

Ken Brown <address@hidden> writes:
> On 6/22/2015 5:15 PM, Ken Brown wrote:
>> On 6/22/2015 11:12 AM, Eli Zaretskii wrote:
>>>> Date: Mon, 22 Jun 2015 07:57:13 -0400
>>>> From: Ken Brown <address@hidden>
>>>> CC: Eli Zaretskii <address@hidden>, address@hidden
>>>>> 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.
> Done as commit 531125e4c.  Seb, are you able to build emacs and test
> this?

No, not ATM.

> If not, I can make a test release available in the Cygwin
> distribution.

That'd be great!  Just tell me when/what to test.

Best regards,

Sebastien Vauban

reply via email to

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