Skip to content

unwireddevices/lua-time

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ul_time

Timing functions for Lua "os" module. Compilation with gcc (Linux) or MinGW-gcc (Windows).

Cross-compilation in Linux:

  • 32-bit target: make COMSPEC=command
  • 64-bit target: make COMSPEC=command PROCESSOR_ARCHITECTURE=AMD64 CPU=k8

Module functions:

  • os.delay_us(n) (delay for n microseconds)
  • os.delay_ms(n) (delay for n milliseconds)
  • os.sec_usec() (returns 2 numbers - current absolute seconds and microseconds as returned by gettimeofday function).

About

Lua timing library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 55.2%
  • Makefile 42.8%
  • C++ 2.0%