Debian Codegraph @

%3a19/time/compat.loko.sls

raw
1 ;; Copyright © 2019 Göran Weinholt
2 ;; SPDX-License-Identifier: MIT
3 #!r6rs
4
5 (library (srfi :19 time compat)
6 (export
7 time-resolution
8 timezone-offset
9 current-time
10 cumulative-thread-time
11 cumulative-process-time
12 cumulative-gc-time
13 time-nanosecond
14 time-second)
15 (import
16 (rnrs)
17 (except (loko system time) time-resolution)
18 (prefix (only (loko system time) time-resolution)
19 loko:))
20
21 (define time-resolution (loko:time-resolution (current-time)))
22
23 (define (cumulative-thread-time)
24 (error 'cumulative-thread-time "not implemented"))
25
26 (define (cumulative-gc-time)
27 (error 'cumulative-gc-time "not implemented"))
28
29 ;; Loko currently doesn't parse the timezone database
30 (define timezone-offset 0))