SYMBOL INDEX (128 symbols across 22 files) FILE: build.rs function main (line 47) | fn main() { FILE: examples/activity_monitor.rs function main (line 11) | fn main() { function build_some_threads (line 63) | fn build_some_threads() { FILE: src/cpu/android_linux.rs type ThreadId (line 11) | pub struct ThreadId(pthread_t); method current (line 15) | pub fn current() -> Self { function timespec_to_duration (line 20) | fn timespec_to_duration(timespec { tv_sec, tv_nsec }: timespec) -> Durat... function get_thread_cputime (line 30) | fn get_thread_cputime(ThreadId(thread): ThreadId) -> Result { type ThreadStat (line 45) | pub struct ThreadStat { method cur (line 51) | pub fn cur() -> Result { method build (line 55) | pub fn build(tid: ThreadId) -> Result { method cpu (line 65) | pub fn cpu(&mut self) -> Result { method cpu_time (line 79) | pub fn cpu_time(&mut self) -> Result { function cpu_time (line 88) | pub fn cpu_time() -> Result { FILE: src/cpu/ios_macos.rs type ThreadId (line 14) | pub struct ThreadId(u32); method current (line 18) | pub fn current() -> Self { function get_thread_basic_info (line 23) | fn get_thread_basic_info(ThreadId(tid): ThreadId) -> Result Result { method build (line 51) | pub fn build(tid: ThreadId) -> Result { method cpu (line 59) | pub fn cpu(&mut self) -> Result { method cpu_time (line 77) | pub fn cpu_time(&mut self) -> Result { function time_value_to_u64 (line 96) | fn time_value_to_u64(t: time_value_t) -> u64 { function cpu_time (line 102) | pub fn cpu_time() -> Result { function bench_cpu_usage_by_calculate (line 127) | fn bench_cpu_usage_by_calculate(b: &mut Bencher) { function bench_cpu_usage_by_field (line 151) | fn bench_cpu_usage_by_field(b: &mut Bencher) { FILE: src/cpu/mod.rs function processor_numbers (line 56) | pub fn processor_numbers() -> std::io::Result { type ProcessStat (line 61) | pub struct ProcessStat { method cur (line 68) | pub fn cur() -> io::Result { method cpu (line 77) | pub fn cpu(&mut self) -> io::Result { type ThreadStat (line 87) | pub struct ThreadStat { method cur (line 93) | pub fn cur() -> Result { method build (line 103) | pub fn build(thread_id: ThreadId) -> Result { method cpu (line 111) | pub fn cpu(&mut self) -> Result { method cpu_time (line 117) | pub fn cpu_time(&mut self) -> Result { function test_process_usage (line 129) | fn test_process_usage() { function test_thread_usage (line 155) | fn test_thread_usage() { FILE: src/cpu/windows/mod.rs type ThreadId (line 15) | pub struct ThreadId(u32); method current (line 19) | pub fn current() -> Self { function filetime_to_ns100 (line 25) | fn filetime_to_ns100(ft: &FILETIME) -> u64 { type ThreadStat (line 29) | pub struct ThreadStat { method get_times (line 36) | fn get_times(thread_id: ThreadId) -> Result<(u64, u64)> { method cur (line 47) | pub fn cur() -> Result { method build (line 57) | pub fn build(tid: ThreadId) -> Result { method cpu (line 66) | pub fn cpu(&mut self) -> Result { method cpu_time (line 81) | pub fn cpu_time(&mut self) -> Result { function cpu_time (line 94) | pub fn cpu_time() -> Result { FILE: src/cpu/windows/process_times.rs type ProcessTimes (line 9) | pub struct ProcessTimes { method capture_current (line 17) | pub fn capture_current() -> Result { method capture_with_handle (line 21) | pub unsafe fn capture_with_handle(handle: HANDLE) -> Result { FILE: src/cpu/windows/system_times.rs type SystemTimes (line 7) | pub struct SystemTimes { method capture (line 14) | pub fn capture() -> Result { FILE: src/cpu/windows/thread_times.rs type ThreadTimes (line 15) | pub struct ThreadTimes { method capture_current (line 24) | pub fn capture_current() -> Result { method capture_with_thread_id (line 28) | pub fn capture_with_thread_id(ThreadId(thread_id): ThreadId) -> Result... method capture_with_handle (line 46) | pub unsafe fn capture_with_handle(handle: HANDLE) -> Result { FILE: src/fd/android_linux.rs function fd_count_pid (line 1) | pub fn fd_count_pid(pid: u32) -> std::io::Result { function fd_count_cur (line 6) | pub fn fd_count_cur() -> std::io::Result { function test_fd_count (line 16) | fn test_fd_count() { FILE: src/fd/darwin_private.rs constant PROC_PIDLISTFDS (line 10) | const PROC_PIDLISTFDS: c_int = 1; constant PROC_PIDTASKALLINFO (line 11) | const PROC_PIDTASKALLINFO: c_int = 2; function proc_pidinfo (line 14) | fn proc_pidinfo( type proc_fdinfo (line 24) | pub struct proc_fdinfo { function fd_count_cur (line 29) | pub fn fd_count_cur() -> std::io::Result { function fd_count_pid (line 33) | pub fn fd_count_pid(pid: u32) -> std::io::Result { function test_fd_count_private (line 79) | fn test_fd_count_private() { function fd_lsof (line 106) | fn fd_lsof() -> usize { FILE: src/fd/ios.rs function fd_count_cur (line 5) | pub fn fd_count_cur() -> std::io::Result { function fd_count_pid (line 9) | pub fn fd_count_pid(pid: u32) -> std::io::Result { FILE: src/fd/macos.rs function fd_count_cur (line 1) | pub fn fd_count_cur() -> std::io::Result { function test_fd_count (line 13) | fn test_fd_count() { function fd_lsof (line 40) | fn fd_lsof() -> usize { FILE: src/fd/mod.rs function fd_count_cur (line 57) | pub fn fd_count_cur() -> std::io::Result { FILE: src/fd/windows.rs function process_fd_count (line 12) | fn process_fd_count(handler: HANDLE) -> std::io::Result { function fd_count_pid (line 21) | pub fn fd_count_pid(pid: u32) -> std::io::Result { function fd_count_cur (line 34) | pub fn fd_count_cur() -> std::io::Result { function test_count_fd (line 44) | fn test_count_fd() { FILE: src/io/mod.rs type IOStatsError (line 6) | pub struct IOStatsError { method from (line 12) | fn from(e: std::io::Error) -> Self { method from (line 21) | fn from(e: std::num::ParseIntError) -> Self { type IOStats (line 30) | pub struct IOStats { function get_process_io_stats (line 50) | pub fn get_process_io_stats() -> Result { function get_process_io_stats_impl (line 55) | fn get_process_io_stats_impl() -> Result { function get_process_io_stats_impl (line 81) | fn get_process_io_stats_impl() -> Result { function get_process_io_stats_impl (line 106) | fn get_process_io_stats_impl() -> Result { FILE: src/mem/allocation_counter.rs constant MIN_ALIGN (line 6) | pub const MIN_ALIGN: usize = 16; type CountingAllocator (line 14) | pub struct CountingAllocator; method get_allocated (line 18) | pub fn get_allocated() -> isize { method is_enable (line 23) | pub fn is_enable() -> bool { method reset (line 28) | pub fn reset() { method enable (line 33) | pub fn enable() { method disable (line 38) | pub fn disable() { method alloc (line 45) | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { method dealloc (line 54) | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { method realloc (line 62) | unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) ... method alloc_zeroed (line 75) | unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { FILE: src/mem/apple/heap.rs type MallocStatistics (line 9) | pub type MallocStatistics = malloc_statistics_t; type MallocZone (line 12) | pub struct MallocZone(*mut malloc_zone_t); method name (line 16) | pub fn name(&self) -> Result<&str, str::Utf8Error> { method statistics (line 20) | pub fn statistics(&mut self) -> Option { function malloc_get_all_zones (line 37) | pub unsafe fn malloc_get_all_zones() -> io::Result> { function malloc_get_default_zone (line 54) | pub fn malloc_get_default_zone() -> MallocZone { function test_malloc_get_all_zones (line 63) | fn test_malloc_get_all_zones() { function test_malloc_get_default_zone (line 71) | fn test_malloc_get_default_zone() { function test_malloc_zone_statistics (line 77) | fn test_malloc_zone_statistics() { FILE: src/mem/apple/vm.rs type VMRegionKind (line 17) | pub enum VMRegionKind { method from (line 36) | fn from(user_tag: u32) -> Self { type VMRegion (line 58) | pub struct VMRegion { method kind (line 65) | pub fn kind(&self) -> VMRegionKind { method dirty_bytes (line 69) | pub fn dirty_bytes(&self) -> usize { method swapped_bytes (line 73) | pub fn swapped_bytes(&self) -> usize { method resident_bytes (line 77) | pub fn resident_bytes(&self) -> usize { method end_addr (line 81) | fn end_addr(&self) -> mach_vm_address_t { type VMRegionIter (line 86) | pub struct VMRegionIter { method default (line 93) | fn default() -> Self { type Item (line 103) | type Item = VMRegion; method next (line 105) | fn next(&mut self) -> Option { FILE: src/mem/process_memory_info.rs type ProcessMemoryInfo (line 5) | pub struct ProcessMemoryInfo { function get_process_memory_info_impl (line 48) | fn get_process_memory_info_impl() -> Result { function get_process_memory_info_impl (line 76) | fn get_process_memory_info_impl() -> Result { function get_process_memory_info_impl (line 93) | fn get_process_memory_info_impl() -> Result { function get_process_memory_info (line 135) | pub fn get_process_memory_info() -> Result { FILE: src/utils/ptr_upgrade.rs type HandleUpgrade (line 4) | pub trait HandleUpgrade: Sized { method upgrade (line 5) | fn upgrade(self) -> Option; method upgrade (line 10) | fn upgrade(self) -> Option { FILE: src/utils/windows_handle.rs type Handle (line 5) | pub struct Handle(NonZeroIsize); method new (line 9) | pub unsafe fn new(handle: NonZeroIsize) -> Self { method as_handle (line 13) | pub fn as_handle(&self) -> isize { method drop (line 19) | fn drop(&mut self) {