cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Profiling Pipeline [was Re: [RT] Unit testing and CocoonUnit]
Date Mon, 10 Nov 2003 20:10:45 GMT
Nicola Ken Barozzi wrote:

> Berin Loritsch wrote:
> ...
>
>>
>>
>> I have a feeling the timings are useless largely because of the 
>> granularity
>> of the System.getTimeInMillis() method.  On Windows the granularity 
>> is 10 ms.
>> If the timing is less than that it registers as 0.  Add enough zeros 
>> and it
>> will always be less than the total time for the timing.
>
>
> There is a way of getting around this by using JNI and calling the 
> correct stuff. If you Google round you will sure find something. 
> Probably there is something at www.javaworld.com.


It's JavaPRO [1]. Any takers? :)

Vadim


[1] 
http://www.fawcette.com/archives/premier/mgznarch/javapro/2001/08aug01/km0108/km0108-2.asp



Mime
View raw message