mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
9 lines
307 B
V
9 lines
307 B
V
module runtime
|
|
|
|
// used_memory retrieves the current physical memory usage of the process.
|
|
// Note: implementation available only on FreeBSD, macOS, Linux, OpenBSD and
|
|
// Windows. Otherwise, returns 'used_memory: not implemented'.
|
|
pub fn used_memory() !u64 {
|
|
return error('used_memory: not implemented')
|
|
}
|