| 1 | module runtime |
| 2 | |
| 3 | // used_memory retrieves the current physical memory usage of the process. |
| 4 | // Note: implementation available only on FreeBSD, macOS, Linux, OpenBSD and |
| 5 | // Windows. Otherwise, returns 'used_memory: not implemented'. |
| 6 | pub fn used_memory() !u64 { |
| 7 | return error('used_memory: not implemented') |
| 8 | } |
| 9 |