Class: Colt

Inherits:
Object
  • Object
show all
Defined in:
lib/colt/colt.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) processors





33
34
35
# File 'lib/colt/colt.rb', line 33

def self.processors
  Java::EduEmoryMathcsUtils::ConcurrencyUtils.get_number_of_processors
end

+ (Object) threads





41
42
43
# File 'lib/colt/colt.rb', line 41

def self.threads
  Java::EduEmoryMathcsUtils::ConcurrencyUtils.get_number_of_threads
end