Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 26501 invoked from network); 27 Jul 2007 08:42:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 08:42:31 -0000 Received: (qmail 37057 invoked by uid 500); 27 Jul 2007 08:42:30 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 37024 invoked by uid 500); 27 Jul 2007 08:42:30 -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 37015 invoked by uid 99); 27 Jul 2007 08:42:30 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 01:42:30 -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 (athena.apache.org: domain of mike.fursov@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 08:42:26 +0000 Received: by py-out-1112.google.com with SMTP id a73so1555522pye for ; Fri, 27 Jul 2007 01:42:05 -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=JDtsGPASZI0snJ56wTzXsLUwmPwDw1771hQTO3N/5ZzPT6ht1nCbE2vA2hSKOneUHpDA+45rLRjjGyiDclxpC8+Zr6n9duDiiNY6lG+jk8NkYisFVKbEEhPAgMZmYUoxKLDAIQaRDYdNuDmzwkzKc0AreMgY3d/XcMEj/n43tro= 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=UVUYEAbQCB/4XBry/YwnteGpcDADo+9MkufV3EdUNdWXCZ+tgJAVswOMrJT64aBqUX6Vj7LHUr9aXFGLeWWe3i2BGJFc6EL4JXTrfz6flOr2cNy4+UeBAGODXi/8DaDRqRpPJL1UvUxirX02MvegDYTM+wrIyHl69cRbDLEZ7xU= Received: by 10.35.21.9 with SMTP id y9mr3628504pyi.1185525725891; Fri, 27 Jul 2007 01:42:05 -0700 (PDT) Received: by 10.35.29.13 with HTTP; Fri, 27 Jul 2007 01:42:05 -0700 (PDT) Message-ID: Date: Fri, 27 Jul 2007 15:42:05 +0700 From: "Mikhail Fursov" To: dev@harmony.apache.org Subject: Re: [drlvm][jit][opt][timer]How to measure the execution time of a specific optpass? In-Reply-To: <0vqk5snjzve.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2393_8369101.1185525725844" References: <730cde590707260108h303a9dacuac5c281cebb74ee@mail.gmail.com> <0vqk5snjzve.fsf@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2393_8369101.1185525725844 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes it works fine. The only reason when it does not work fine is System.exitmethod in Java code (AFAIK Dacapo uses it). In this case no 'deinit' method is called for JIT and no info is dumped. On 26 Jul 2007 13:08:53 +0400, Egor Pasko wrote: > > On the 0x31F day of Apache Harmony Yunyun Hao wrote: > > Hi,all, > > > > I want to measure and print the execution time of a specific > optimization > > pass,such as SSA. > > Are there some command-line options to be specified for it? > > Ideally the following should work: > > -XX:jit.SD2_OPT.arg.time=on -Xem:server > > It works for HelloWorld, but fails for more tricky workloads like > DaCapo. I suspect some troubles in deinitialization. > > Did anybody observe this feature working well recently? > > -- > Egor Pasko > > -- Mikhail Fursov ------=_Part_2393_8369101.1185525725844--