mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
8 lines
298 B
V
8 lines
298 B
V
module runtime
|
|
|
|
// used_memory retrieves the current physical memory usage of the process.
|
|
// Note: implementation available only on FreeBSD, macOS, Linux and Windows. Otherwise,
|
|
// returns 'used_memory: not implemented'.
|
|
pub fn used_memory() !u64 {
|
|
return error('used_memory: not implemented')
|
|
}
|