Module ojalgo

Class BasicMachine

java.lang.Object
org.ojalgo.machine.BasicMachine
Direct Known Subclasses:
Hardware, VirtualMachine

public class BasicMachine extends Object
How much memory, and how many threads share that memory. Used to describe either total system resources (system RAM and total number of threads handled by the processors) or a cache (processor's L1, L2 or L3 cache).
Author:
apete
  • Field Details

    • memory

      public final long memory
    • threads

      public final int threads
  • Constructor Details

    • BasicMachine

      public BasicMachine(long memoryBytes, int nbThreads)
  • Method Details