Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 04 Jul 2011 11:54:49 -0500 Date: Mon, 04 Jul 2011 09:54:51 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: baseline performance test using java ... References: <1309715588.716395@nntp.aceinnovative.com> In-Reply-To: <1309715588.716395@nntp.aceinnovative.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 17 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.196.78 X-Trace: sv3-XjTB3AsrXvUQHZQfc4F7jTjYIrv2mKi7XVQW2jlIR02xXb+H3bCFEoZN+4IBboxLn3rAyIKrPd6vurQ!btOIPtoReG6Yg6WZYBD9b+oh/Xgai29MAA+WZSS36EadnmFyJoYLgPOlGo0fbSVqute+a3gz6W3q!DfQsvJGuSnLRfjFvd6DdEnvqNmAHPcFdtOLElU1lXUFb5g== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1831 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5855 On 7/3/2011 10:53 AM, lbrt chx _ gemale kom wrote: ... > The q is then. How much more (as a relative measure/percentage) does > my logical stack taxes the underlying (hw + sw) baseline? ... I am not at all sure this is what you are asking for, but here is one tool that *may* be relevant. In java.util.management there is a class ThreadMXBean. Among other data, it reports the user CPU time in a thread: http://download.oracle.com/javase/6/docs/api/java/lang/management/ThreadMXBean.html#getThreadUserTime%28long%29 That is a measure of work done in the thread but not in the operating system. Patricia