2022-10-21 16:10:00 +02:00
|
|
|
# Various miscellaneous utilities
|
2022-11-29 16:48:05 +01:00
|
|
|
import values;
|
2022-10-21 16:10:00 +02:00
|
|
|
|
2022-10-17 11:28:54 +02:00
|
|
|
|
|
|
|
fn clock*: float {
|
2022-11-27 13:39:41 +01:00
|
|
|
#pragma[magic: "SysClock64"]
|
2022-10-17 11:28:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-12-02 13:35:54 +01:00
|
|
|
fn print*[T: any](x: T) {
|
2022-12-01 22:04:10 +01:00
|
|
|
#pragma[magic: "print"]
|
2022-10-17 11:28:54 +02:00
|
|
|
}
|