Searched refs:vmtotal (Results 1 – 2 of 2) sorted by relevance
73 struct vmtotal vmtotal; in GetSystemCommitCharge() local75 size_t len = sizeof(vmtotal); in GetSystemCommitCharge()77 if (sysctl(mib, std::size(mib), &vmtotal, &len, NULL, 0) < 0) in GetSystemCommitCharge()80 mem_total = vmtotal.t_vm; in GetSystemCommitCharge()81 mem_free = vmtotal.t_free; in GetSystemCommitCharge()82 mem_inactive = vmtotal.t_vm - vmtotal.t_avm; in GetSystemCommitCharge()
552 pub struct vmtotal {