Searched refs:vm_stat (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10.1/system_cmds-643.1.1/vm_stat.tproj/
H A Dvm_stat.c25 * File: vm_stat.c
55 vm_statistics64_data_t vm_stat, last; variable
130 get_stats(&vm_stat);
133 sspstat("Pages free:", (uint64_t) (vm_stat.free_count - vm_stat.speculative_count));
134 sspstat("Pages active:", (uint64_t) (vm_stat.active_count));
135 sspstat("Pages inactive:", (uint64_t) (vm_stat.inactive_count));
136 sspstat("Pages speculative:", (uint64_t) (vm_stat.speculative_count));
137 sspstat("Pages throttled:", (uint64_t) (vm_stat.throttled_count));
138 sspstat("Pages wired down:", (uint64_t) (vm_stat
[all...]
/macosx-10.10.1/xnu-2782.1.97/osfmk/kern/
H A Dhost_statistics.h48 OSAddAtomic64(1, (SInt64 *) (&(PROCESSOR_DATA(current_processor(), vm_stat).event))); \
53 OSAddAtomic64((amount), (SInt64 *) (&(PROCESSOR_DATA(current_processor(), vm_stat).event))); \
H A Dprocessor_data.h76 vm_statistics64_data_t vm_stat; member in struct:processor_data
H A Dhost.c324 stat = &PROCESSOR_DATA(processor, vm_stat);
331 stat = &PROCESSOR_DATA(processor, vm_stat);
520 stat = &PROCESSOR_DATA(processor, vm_stat);
527 stat = &PROCESSOR_DATA(processor, vm_stat);
H A Dkern_stackshot.c687 stat = &PROCESSOR_DATA(processor, vm_stat);
701 stat = &PROCESSOR_DATA(processor, vm_stat);
/macosx-10.10.1/system_cmds-643.1.1/memory_pressure.tproj/
H A Dmemory_pressure.c129 vm_statistics64_data_t vm_stat;; local
135 if ((ret = host_statistics64(mach_host_self(), HOST_VM_INFO64, (host_info64_t)&vm_stat, &count) != KERN_SUCCESS)) {
139 printf("Pages free: %llu \n", (uint64_t) (vm_stat.free_count - vm_stat.speculative_count));
140 printf("Pages purgeable: %llu \n", (uint64_t) (vm_stat.purgeable_count));
141 printf("Pages purged: %llu \n",(uint64_t) (vm_stat.purges));
144 printf("Swapins: %llu \n", (uint64_t) (vm_stat.swapins));
145 printf("Swapouts: %llu \n", (uint64_t) (vm_stat.swapouts));
148 printf("Pages active: %llu \n", (uint64_t) (vm_stat.active_count));
149 printf("Pages inactive: %llu \n", (uint64_t) (vm_stat
[all...]
/macosx-10.10.1/top-100.1.2/
H A Dglobalstats.c436 total_free = (uint64_t)tsamp->vm_stat.free_count * tsamp->pagesize;
437 total_used_count = (uint64_t)tsamp->vm_stat.wire_count + tsamp->vm_stat.inactive_count
438 + tsamp->vm_stat.active_count + tsamp->vm_stat.compressor_page_count;
441 wiredresult = top_init_uinteger(tsamp->vm_stat.wire_count
492 (unsigned long long)tsamp->vm_stat.swapins,
493 (unsigned long long)(tsamp->vm_stat.swapins
495 (unsigned long long)tsamp->vm_stat.swapouts,
496 (unsigned long long)(tsamp->vm_stat
[all...]
H A Dlibtop.h109 vm_statistics64_data_t vm_stat; member in struct:__anon13942
H A Dlibtop.c947 tsamp->p_vm_stat = tsamp->vm_stat;
949 mach_msg_type_number_t count = sizeof(tsamp->vm_stat) / sizeof(natural_t);
950 kr = host_statistics64(libtop_port, HOST_VM_INFO64, (host_info64_t)&tsamp->vm_stat, &count);
956 tsamp->vm_stat.wire_count += tsamp->pages_stolen;
960 tsamp->purgeable_is_valid = (count == (sizeof(tsamp->vm_stat)/sizeof(natural_t)));
962 tsamp->vm_stat.purgeable_count = 0;
963 tsamp->vm_stat.purges = 0;
967 tsamp->p_vm_stat = tsamp->vm_stat;
968 tsamp->b_vm_stat = tsamp->vm_stat;
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dkern_memorystatus.c2204 vm_statistics64_data_t vm_stat; local
2206 if ((kr = host_statistics64(host_self(), HOST_VM_INFO64, (host_info64_t)&vm_stat, &count) != KERN_SUCCESS)) {
2210 memorystatus_jetsam_snapshot->stats.free_pages = vm_stat.free_count;
2211 memorystatus_jetsam_snapshot->stats.active_pages = vm_stat.active_count;
2212 memorystatus_jetsam_snapshot->stats.inactive_pages = vm_stat.inactive_count;
2213 memorystatus_jetsam_snapshot->stats.throttled_pages = vm_stat.throttled_count;
2214 memorystatus_jetsam_snapshot->stats.purgeable_pages = vm_stat.purgeable_count;
2215 memorystatus_jetsam_snapshot->stats.wired_pages = vm_stat.wire_count;
2217 memorystatus_jetsam_snapshot->stats.speculative_pages = vm_stat.speculative_count;
2218 memorystatus_jetsam_snapshot->stats.filebacked_pages = vm_stat
[all...]

Completed in 104 milliseconds