Search:

Type: Posts; User: aesguitar

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    2,389

    Re: Many thread benchmark help

    Thank you all. It runs beautifully... I think...

    Final code:



    package benchmark;

    import java.util.ArrayList;
  2. Replies
    9
    Views
    2,389

    Re: Many thread benchmark help

    Did I do this correctly?



    for(Thread t: th)
    {
    t.start();
    }

    for(Thread t : th)
  3. Replies
    9
    Views
    2,389

    Re: Many thread benchmark help

    I have a dual core i5 @ 2.4 GHz with hyperthreading giving 4 logical cores. I have it creating threads based on the amount of free RAM. When it runs, it uses 800,000 MB and around 90% of my...
  4. Replies
    9
    Views
    2,389

    Re: Many thread benchmark help

    The thing is, I don't know. I was simply wondering if there was maybe an easier or faster way to do it, I don't have anything to compare it to as I'm not very good with multi-threading yet. Also, is...
  5. Replies
    9
    Views
    2,389

    Many thread benchmark help

    I'm building a simple benchmark program that proves the primality the largest 64-bit unsigned prime number. So far, I can set up the threads and they all run correctly, but in an effort to increase...
Results 1 to 5 of 5