Merge: lib/core/time: more time related services
authorJean Privat <jean@pryen.org>
Tue, 16 May 2017 13:28:15 +0000 (09:28 -0400)
committerJean Privat <jean@pryen.org>
Tue, 16 May 2017 13:28:15 +0000 (09:28 -0400)
commitbf79ab51266d436c0ba596372af465b6150365cf
tree7a455f32eb47a4a6506b4ad9ecb046c778a961ad
parent2d4bc4705d9c8cd34498eb55295f9305352af77c
parent7019a74be3262bca4897486d7ced72f035c3ac8a
Merge: lib/core/time: more time related services

Three things here:
* Introduce `Int::sleep` because of my hatred for `1.0.sleep`
* Introduce `get_microtime` because timestamp are better in microseconds
* Introduce `get_millitime` because sometimes, god forbid, we have to deal with Javascript

Also, I'm using `sys/time`, pretty sure I'm doing something that should not be in the core library.

Pull-Request: #2436