X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; q=dns; s=default; b=M+N
	Z8rDWoKsh9+DnHCPxbhy2oWmxy1naTjyh/iJuHElzenYFRwd6IQV54lRLv62sXco
	XKMCzZDWH7/jJ5j1iAJyRPhOMi3IsGKmeUd0Ayt1RNK+jOwC8rfKBwJ/77oDsRgB
	is1XnjEc5JpQeiZyHbPT52m5QsLxmP/InDxu4IXs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; s=default; bh=ReqqcSZAr
	0d007Ews63qUWcKPK0=; b=HLhjscGS9Gy5vJNqz+fQcy8WL2k3cSDsl9RlRjRrx
	z28HYvuw5eoYFbrrtTRjkTN6pczxsMFB0hlOn6+bevQoEv4oa5/EC9Xq83bcQhbq
	4eAsjAhvJrBZ4muc9CyQGSLvyZ1qAbCIShUlj/YjkwmQeOyGWj5FqE5wYCTsiIS9
	jI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <5587FA08.8080404@cornell.edu>
Date: Mon, 22 Jun 2015 08:05:28 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cygwin <cygwin@cygwin.com>
Subject: Support for ITIMER_PROF?
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

According to the Cygwin API documentation 
(https://cygwin.com/cygwin-api/std-notes.html), "getitimer and setitimer only 
support ITIMER_REAL for now."  I'm wondering whether there's any chance that 
support for ITIMER_PROF might be added.  I have no idea what the obstacles are.

My reason for asking is that emacs has a CPU profiling function, which doesn't 
work on Cygwin because it relies on ITIMER_PROF.  (There's an alternative 
implementation, but it requires timer_getoverrun, also not available in Cygwin.)

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

