Skip to content

mame/mruby-gettimeofday

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

mruby-gettimeofday

A simple wrapper of gettimeofday(2) for mruby

p gettimeofday
#=> {:tv_sec=>1500000000, :tv_usec=>500000}

This mgem works with MRB_WITHOUT_FLOAT.

Installation

in build_config.rb

MRuby::Build.new do |conf|
  conf.gem :github => "mame/mruby-gettimeofday"
end

Supported Methods

Kernel

  • Kernel#gettimeofday

About

A simple wrapper of `gettimeofday(2)` for mruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published