summaryrefslogtreecommitdiffstatshomepage
path: root/unix/time.c
Commit message (Collapse)AuthorAge
* unix: Clean up includes.xbe2014-03-16
| | | | Remove unnecessary includes. Add includes that improve portability.
* Implement ROMable modules. Add math module.Damien George2014-03-08
| | | | | | | | | | mp_module_obj_t can now be put in ROM. Configuration of float type is now similar to longint: can now choose none, float or double as the implementation. math module has basic math functions. For STM port, these are not yet implemented (they are just stub functions).
* unix: Implement time.sleep().Paul Sokolovsky2014-02-09
|
* unix time.clock(): Actually return float value.Paul Sokolovsky2014-02-02
|
* unix: Add basic time module (with time() and clock() functions).Paul Sokolovsky2014-02-02
Both return int so far (single-precision float doesn't have enough bits to represent int32 precisely).