OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:vm_stats
(Results
1 - 3
of
3
) sorted by null
/external/lldb/tools/debugserver/source/MacOSX/
MachVMMemory.h
31
nub_bool_t GetMemoryProfile(DNBProfileDataScanType scanType, task_t task, struct task_basic_info ti, cpu_type_t cputype, nub_process_t pid, vm_statistics_data_t &
vm_stats
, uint64_t &physical_memory, mach_vm_size_t &rprvt, mach_vm_size_t &rsize, mach_vm_size_t &vprvt, mach_vm_size_t &vsize, mach_vm_size_t &dirty_size, mach_vm_size_t &purgable, mach_vm_size_t &anonymous);
MachTask.cpp
360
struct vm_statistics
vm_stats
;
local
369
if (m_vm_memory.GetMemoryProfile(scanType, task, task_info, m_process->GetCPUType(), m_process->ProcessID(),
vm_stats
, physical_memory, rprvt, rsize, vprvt, vsize, dirty_size, purgeable, anonymous))
430
profile_data_stream << "wired:" <<
vm_stats
.wire_count * pagesize << ';';
431
profile_data_stream << "active:" <<
vm_stats
.active_count * pagesize << ';';
432
profile_data_stream << "inactive:" <<
vm_stats
.inactive_count * pagesize << ';';
433
uint64_t total_used_count =
vm_stats
.wire_count +
vm_stats
.inactive_count +
vm_stats
.active_count;
435
profile_data_stream << "free:" <<
vm_stats
.free_count * pagesize << ';';
[
all
...]
MachVMMemory.cpp
516
MachVMMemory::GetMemoryProfile(DNBProfileDataScanType scanType, task_t task, struct task_basic_info ti, cpu_type_t cputype, nub_process_t pid, vm_statistics_data_t &
vm_stats
, uint64_t &physical_memory, mach_vm_size_t &rprvt, mach_vm_size_t &rsize, mach_vm_size_t &vprvt, mach_vm_size_t &vsize, mach_vm_size_t &dirty_size, mach_vm_size_t &purgeable, mach_vm_size_t &anonymous)
525
host_statistics(localHost, HOST_VM_INFO, (host_info_t)&
vm_stats
, &count);
526
vm_stats
.wire_count += GetStolenPages(task);
Completed in 819 milliseconds