Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 75625 invoked from network); 4 Jun 2008 05:50:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2008 05:50:39 -0000 Received: (qmail 32113 invoked by uid 500); 4 Jun 2008 05:50:41 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 31580 invoked by uid 500); 4 Jun 2008 05:50:40 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 31569 invoked by uid 99); 4 Jun 2008 05:50:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 22:50:39 -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 nicolas.deloof@gmail.com designates 72.14.220.152 as permitted sender) Received: from [72.14.220.152] (HELO fg-out-1718.google.com) (72.14.220.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 05:49:49 +0000 Received: by fg-out-1718.google.com with SMTP id d23so1318248fga.24 for ; Tue, 03 Jun 2008 22:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=xZ4LjJolBpdztz7s19cKZl29H9f9zSuWa1/tNP4pD4Q=; b=RdKvsNdjezd5gijgiMPPuU2aq3fSFRTt6waFC+HHdwdLBw1sbnBSsaI4XOxu7gAkqRb4AaMXkUSTzRwzHnpkT2UrDoKcB0g30PD8z2W1OvO0aoEycF8n2FKXQItq8ZdYEpl7IWYB6lTszW8xrK0UhpAH0Q0VX6skiGTCfdrmGlc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=qmAI5UtaY+LCcDN8pQg2vhfqgohRRLiCd2IYfVp3ZdPBV37waa8Ol+l4T0sTG24ZUighuEJ6JmybLhiqEycy2tKx/IzwYQWVQFt1WQA9Pf2q9D3fKTrXmAHoYS6iN3nUEkOf8sOUi2r+kSZm31XxilO+5oXRZ96VB0Ga/DCCgDQ= Received: by 10.78.139.14 with SMTP id m14mr527536hud.110.1212558604507; Tue, 03 Jun 2008 22:50:04 -0700 (PDT) Received: by 10.78.134.12 with HTTP; Tue, 3 Jun 2008 22:50:04 -0700 (PDT) Message-ID: <4c39e3030806032250q4f1238cfmb93060da90a916d@mail.gmail.com> Date: Wed, 4 Jun 2008 07:50:04 +0200 From: "nicolas de loof" Sender: nicolas.deloof@gmail.com To: "Commons Developers List" Subject: Re: [monitoring / performance] ThreadMXBean.getCurrentThreadCpuTime() In-Reply-To: <55afdc850806031809q145e97e2s4fbfcdfb2d60cfcf@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6678_20953118.1212558604505" References: <55afdc850806031809q145e97e2s4fbfcdfb2d60cfcf@mail.gmail.com> X-Google-Sender-Auth: f57db08059d38705 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6678_20953118.1212558604505 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline That's an interesting point. I'll check this and make some benchs for monitoring. Thanks 2008/6/4 Niall Pemberton : > I read the following on Ortwin Gl=FCck's blog (via PlanetApache): > > "...do not use differences of the system timers ... With system timers > I mean System.currentTimeMillis() and System.nanoTime(). Rather the > ThreadMXBean.getCurrentThreadCpuTime() method should be used." > > http://www.odi.ch/weblog/posting.php?posting=3D495 > > Thought it probably has relevance to the monitoring and performance > sandbox components. > > Niall > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > ------=_Part_6678_20953118.1212558604505--