mes/scaffold
Jan Nieuwenhuizen 37cba9c93b
core: Support time functions.
* lib/linux/clock_gettime.c: New file, move from gnu.c.
* lib/linux/gettimeofday.c: New file, move from tcc.c.
* lib/linux/time.c: New file, move from tcc.c.
* lib/linux/libc.c: Include them.
* lib/linux/gnu.c (clock_gettime): Remove.
* lib/linux/tcc.c (time, gettimeofday): Remove.
* include/time.h (CLOCK_PROCESS_CPUTIME_ID): New define.
* src/posix.c (init_time, current_time, gettimeofday_,
seconds_and_nanoseconds_to_long, get_internal_run_time): New function.
* src/mes.c (scm_symbol_internal_time_units_per_second): New symbol.
(main): Call init_time.
2018-11-07 22:48:10 +01:00
..
boot mes: Move pair? to core. 2018-11-07 22:48:09 +01:00
tests mescc: Support negative divide. 2018-10-06 17:28:08 +02:00
argv.c test: Build initial scaffold tests without libc. 2018-08-15 17:47:03 +02:00
cons-mes.c GNU Mes. 2018-07-22 14:24:36 +02:00
gc.scm Add missing copyright headers and READMEs. 2018-07-26 19:17:12 +02:00
hello.c GNU Mes. 2018-07-22 14:24:36 +02:00
main.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
malloc.c GNU Mes. 2018-07-22 14:24:36 +02:00
micro-mes.c GNU Mes. 2018-07-22 14:24:36 +02:00
mini-mes.c core: Support time functions. 2018-11-07 22:48:10 +01:00
read.c test: Build initial scaffold tests without libc. 2018-08-15 17:47:03 +02:00
read.data test: Build initial scaffold tests without libc. 2018-08-15 17:47:03 +02:00
tiny-mes.c GNU Mes. 2018-07-22 14:24:36 +02:00