0
1
14 15 16
# File 'opal/opal/corelib/process.rb', line 14 def self.clock_gettime(clock_id, unit = nil) Time.now.to_f end
5 6 7
# File 'opal/opal/corelib/process.rb', line 5 def self.pid 0 end
9 10 11 12
# File 'opal/opal/corelib/process.rb', line 9 def self.times t = Time.now.to_f Benchmark::Tms.new(t, t, t, t, t) end