Skip to content

Asmod4n/mruby-chrono

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mruby-chrono

Adds System and Steady clocks to mruby akin to std::chrono from c++11

Examples

Chrono::Steady.now or Chrono.steady # returns a monotonic increasing timestamp, usefull for Benchmarking
Chrono::System.now or Chrono.system # returns the current System Time

The return values are Ruby Floats. This suports HP-UX, Solaris, macOS, BSD, Linux, AIX, POSIX and Windows.

About

System and steady clocks for mruby

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published