From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20843: 24.5; Profiler error: "Invalid sampling interval" Date: Mon, 22 Jun 2015 18:12:47 +0300 Message-ID: <83zj3rhj4g.fsf@gnu.org> References: <83k2v1l7g4.fsf@gnu.org> <5585B8C4.1050204@cornell.edu> <83r3p6i4b1.fsf@gnu.org> <5585DF69.7090008@cornell.edu> <83oak9hzzs.fsf@gnu.org> <558737F7.4080709@cornell.edu> <86y4jckwaj.fsf@example.com> <5587F819.50806@cornell.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1434986062 891 80.91.229.3 (22 Jun 2015 15:14:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2015 15:14:22 +0000 (UTC) Cc: sva-news@mygooglest.com, 20843@debbugs.gnu.org To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 22 17:14:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z73QI-0000EU-46 for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jun 2015 17:14:10 +0200 Original-Received: from localhost ([::1]:40567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z73QH-0001Ef-GJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jun 2015 11:14:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z73QD-0001EM-If for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2015 11:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z73QA-0007l2-Bo for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2015 11:14:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z73QA-0007kv-96 for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2015 11:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z73QA-0003fn-0k for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2015 11:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jun 2015 15:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20843 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20843-submit@debbugs.gnu.org id=B20843.143498599414060 (code B ref 20843); Mon, 22 Jun 2015 15:14:01 +0000 Original-Received: (at 20843) by debbugs.gnu.org; 22 Jun 2015 15:13:14 +0000 Original-Received: from localhost ([127.0.0.1]:54615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z73PN-0003eh-PP for submit@debbugs.gnu.org; Mon, 22 Jun 2015 11:13:14 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:34563) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z73PM-0003eS-17 for 20843@debbugs.gnu.org; Mon, 22 Jun 2015 11:13:12 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NQC00600PXIXG00@a-mtaout21.012.net.il> for 20843@debbugs.gnu.org; Mon, 22 Jun 2015 18:13:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQC006EUQ9PVG70@a-mtaout21.012.net.il>; Mon, 22 Jun 2015 18:13:02 +0300 (IDT) In-reply-to: <5587F819.50806@cornell.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104223 Archived-At: > Date: Mon, 22 Jun 2015 07:57:13 -0400 > From: Ken Brown > CC: Eli Zaretskii , 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.