Time
time — API Reference
Section titled “time — API Reference”Import:
std/time.axs
Public Functions (6)
Section titled “Public Functions (6)”| Function | Signature | Return Type |
|---|---|---|
now_secs | () | i64 |
now_ms | () | i64 |
sleep_ms | (ms: i64) | void |
sleep_secs | (secs: i64) | void |
elapsed_secs | (start: i64, end: i64) | i64 |
has_elapsed | (start: i64, duration_secs: i64) | bool |
Signatures
Section titled “Signatures”now_secs() → i64now_ms() → i64sleep_ms(ms: i64) → voidsleep_secs(secs: i64) → voidelapsed_secs(start: i64, end: i64) → i64has_elapsed(start: i64, duration_secs: i64) → boolFFI Extern Declarations (2)
Section titled “FFI Extern Declarations (2)”These are private C/system function bindings used internally by the module.
| Symbol | Parameters | Return Type |
|---|---|---|
time | (ptr i64) | i64 |
usleep | i32 | i32 |
Auto-generated from std/time.axs by scripts/gen_docs.sh