molecule.platform

Platform

object Platform extends PlatformFactory[Platform]

Source
Platform.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Platform
  2. PlatformFactory
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final var _complexityCutoffThreshold: Int

    Maximum allowed stream complexity for this platform.

    Maximum allowed stream complexity for this platform. Using a large value (>1000) is likely to cause stack overflows but benchmarks show that 50 is more than enough. It is a var only because of benchmarks who tweak this value.

  7. final def apply(name: String, schedulerFactory: SchedulerFactory, debug: Boolean): Platform

    Create a new Platform.

    Create a new Platform.

    name

    the name of the platform.

    schedulerFactory

    the scheduler used to schedule lightweight processes on this platform (see for instance schedulers.FlowParallelScheduler or schedulers.SingleThreadedScheduler)

    debug

    turn on logging of debug information (e.g. which processes started or stopped).

    returns

    a new platform

    Definition Classes
    PlatformFactory
  8. final def apply(name: String, schedulerFactory: SchedulerFactory): Platform

    Create a new Platform.

    Create a new Platform.

    name

    the name of the platform.

    schedulerFactory

    the scheduler used to schedule lightweight processes on this platform (see for instance schedulers.FlowParallelScheduler or schedulers.SingleThreadedScheduler)

    returns

    a new platform

    Definition Classes
    PlatformFactory
  9. final def apply(name: String, nbThreads: Int, debug: Boolean): Platform

    Create a new Platform.

    Create a new Platform.

    name

    the name of the platform.

    nbThreads

    the number of native threads allocated to the platform.

    debug

    turn on logging of debug information (e.g. which processes started or stopped).

    returns

    a new platform

    Definition Classes
    PlatformFactory
  10. final def apply(name: String, nbThreads: Int): Platform

    Create a new Platform.

    Create a new Platform.

    name

    the name of the platform.

    nbThreads

    the number of native threads allocated to the platform.

    returns

    a new platform

    Definition Classes
    PlatformFactory
  11. final def apply(name: String, debug: Boolean): Platform

    Create a new Platform.

    Create a new Platform.

    By default, a platform uses as many native threads as there are hardware threads available from this runtime system (@see java.lang.Runtime.availableProcessors).

    name

    the name of the platform.

    debug

    turn on logging of debug information (e.g. which processes started or stopped).

    returns

    a new platform

    Definition Classes
    PlatformFactory
  12. final def apply(name: String): Platform

    Create a new Platform.

    Create a new Platform.

    By default, a platform uses as many native threads as there are hardware threads available from this runtime system (@see java.lang.Runtime.availableProcessors).

    name

    the name of the platform.

    returns

    a new platform

    Definition Classes
    PlatformFactory
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def availableMemory: Long

    Return available memory

  15. val availableProcessors: Int

    Return available processors

  16. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. final def complexityCutoffThreshold: Int

    Annotations
    @inline()
  18. val defaultThreadCount: Int

  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def newPlatform(name: String, monitor: ProcessMonitor, bind: (Platform) ⇒ Scheduler): Platform

    Definition Classes
    PlatformPlatformFactory
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. final val segmentSizeThreshold: Int(50)

    Set the maximum allowed segment size for this platform.

    Set the maximum allowed segment size for this platform.

    Using a large value (>1000) is likely to cause stack overflows but benchmarks show that 50 is more than enough.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from PlatformFactory[Platform]

Inherited from AnyRef

Inherited from Any