From dev-return-27618-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Thu Jun 07 11:27:03 2007 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 52886 invoked from network); 7 Jun 2007 11:27:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jun 2007 11:27:02 -0000 Received: (qmail 23501 invoked by uid 500); 7 Jun 2007 11:26:52 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 23466 invoked by uid 500); 7 Jun 2007 11:26:52 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 23401 invoked by uid 99); 7 Jun 2007 11:26:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 04:26:52 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mike.fursov@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 04:26:47 -0700 Received: by py-out-1112.google.com with SMTP id a29so796904pyi for ; Thu, 07 Jun 2007 04:26:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qTrA2/nnSNoBzdA0BukqNdctLnpCBGgU8vYkx0Ej4T+qHeAd9ijeI2JFqCxJgFp8qw00MbKiKr3QmmYBvpfO2jLJ5xQn3L8bhcrQOf9324uiMgY8GYhK8xjM7HYgYVj8Bvwel/3oVLHBTdgkFEfMwSKW/0dWfTLxO8JtHD8jffI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=T0lLjA94q45Y+j8O9yjovRLWdoOGsfj4Av5c0OHu7Ejd9JTkeZsoFqeozx2Q7Uhc3bzXxGF28LzW/6rzwIM/D2emAekMMLdjX5rhhaJAnwHR8Na5+DnRxc3XcXbq2GU1+TLlbzhaG+nZQiBmy/v/kMdga9b96IPGRSKb8F+sZSo= Received: by 10.35.66.1 with SMTP id t1mr2787389pyk.1181215586704; Thu, 07 Jun 2007 04:26:26 -0700 (PDT) Received: by 10.35.28.6 with HTTP; Thu, 7 Jun 2007 04:26:26 -0700 (PDT) Message-ID: Date: Thu, 7 Jun 2007 18:26:26 +0700 From: "Mikhail Fursov" To: dev@harmony.apache.org Subject: Re: [drlvm][jit]compilation time In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32933_23049147.1181215586604" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_32933_23049147.1181215586604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/7/07, Maksim Ananjev wrote: > > Mikhail, thanks! > > But I haven't got where the information about time is stored after the > execution. Would you be so kind to point it out more explicitly? I was wrong, 'time' option does not work with PMF filters and can be only turned on or off for all methods compiled by JIT. But you can have different JITs and use EM chains to filter methods between them. Copy default opt.emconf file into your working directory and modify it in the following way: chains=chain1,chain2 chain1.jits=JET chain2.jits=CS_OPT JET.file=jitrino CS_OPT.file=jitrino #JET will compile all method except this one chain1.filter=-YourClassPrefix::yourMethodPrefix #enabling timers for CS_OPT -XX:jit.CS_OPT.arg.time=on #must have option for every JIT. JET does not have pipeline, so leave it empty -XX:jit.JET.path= and run VM with "-Xem:path_to_your_emconf" option 2007/6/7, Mikhail Fursov : > > try > > -Xem:opt -XX:jit.f.filter=YourClass::yourmethod -XX:jit.f.time=on > > > > On 6/7/07, Maksim Ananjev wrote: > > > > > > Hi! > > > > > > Is there any way in Harmony to measure the compilation time of a > method? > > > > > > I need it to profile some numerical intensive apps, and this feature > > > would be extremely useful. > > > > > > -- > > > Maksim > > > > > > > > > > > -- > > Mikhail Fursov > > > > > -- > Maksim > -- Mikhail Fursov ------=_Part_32933_23049147.1181215586604--