interplane.Get Omega
Read in your language

omega-mcp

aien-dev/omega-mcp

Brought by drakestapleton

branch main Branches Tags History

omega-mcp / data / examples / clock.om

17 lines · 248 bytes Raw Blame History
1note monotonic and realtime clocks, a short sleep and random bytes
2global buf uchar 16
3fn main to int
4a = monons
5r = sleepns 1000000
6b = monons
7if lt sub b a 1000000
8ret 1
9end
10if le realns 0
11ret 2
12end
13if ne random buf 0 16 0 16
14ret 3
15end
16ret 0
17end