Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22629

Re: code for native functions

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: code for native functions
Date 2013-02-28 11:21 -0800
Organization Canadian Mind Products
Message-ID <b9bvi8d9c4ssl0gfqgnfn69rfiectjq3ch@4ax.com> (permalink)
References <c91c62aa-e453-4639-8b1f-6e48c2a4aa89@googlegroups.com> <5pqsi8ll07l62voutrp79njhijrsj8c9sv@4ax.com> <%juXs.110035$O02.46330@newsfe18.iad>

Show all headers | View raw


On Wed, 27 Feb 2013 12:50:03 -0800, Daniel Pitts
<newsgroup.nospam@virtualinfinity.net> wrote, quoted or indirectly
quoted someone who said :

>nanoTime doesn't necessarily use the CPU nanocounter.

That makes sense.  I was thinking about the ways various CPU cores
change frequencies, go to sleep, get overclocked etc. Threads could
run on all the cores for short periods of time. An instruction counter
on each CPU seemed pretty useless.  I could not see how you could
reasonably reconstruct a global time from them.

You'd think a common high frequency counter of standard frequency
would not be rocket science.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
One thing I love about having a website, is that when I complain about
something, I only have to do it once. It saves me endless hours of 
grumbling.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

code for native functions bob smith <bob@coolfone.comze.com> - 2013-02-26 09:04 -0800
  Re: code for native functions Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-02-26 09:43 -0800
  Re: code for native functions Arne Vajhøj <arne@vajhoej.dk> - 2013-02-26 19:17 -0500
  Re: code for native functions Roedy Green <see_website@mindprod.com.invalid> - 2013-02-27 12:38 -0800
    Re: code for native functions Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-02-27 12:50 -0800
      Re: code for native functions Roedy Green <see_website@mindprod.com.invalid> - 2013-02-28 11:21 -0800
        Re: code for native functions Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2013-02-28 20:32 -0600
          Re: code for native functions Roedy Green <see_website@mindprod.com.invalid> - 2013-03-03 08:26 -0800
    Re: code for native functions Arne Vajhøj <arne@vajhoej.dk> - 2013-02-27 18:02 -0500

csiph-web