I'm writing a native call to nanoSleep.
As we have talked over IRC, I'm measuring the precision, and the weight of JNI calls.
I have made a bunch of tests:
I'm still editing this post.... I will resubmit it when I'm done...
My conclusion is that it is close enough for 20K.
Follows a table:
Time IntervalNumber Of LoopsTime Taken
01,000,00017 milliseconds
1000 nanosecond1,000,0003856 milliseconds
20 K nanosecond1,000,00023312 milliseconds
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235453#4235453
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235453
I subscribe to the idea. But then we need to limit ourselves to a fresh instance of the Java or JEE edition of Eclipse, as the update mechanism will pull in the other dependencies when using the Classic version.
Automatically adding user libraries is probably more tricky. They sit in the preferences whick is a part of the workspace. So if you want to do that, you probably need to ship a 'default' workspace as well (like we did in the past).
Regards,
Koen
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235451#4235451
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235451