perf_monitor 0.2.0

A toolkit designed to be a foundation for applications to monitor their performance.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// There is no api to retrieve the fd count of the process for ios.
// following links contains a available way, but it's complicated and
// inefficient. <https://stackoverflow.com/questions/4083608/on-ios-iphone-too-many-open-files-need-to-list-open-files-like-lsof>

pub type Result<T> = std::result::Result<T, ()>;

pub fn fd_count_cur() -> Result<usize> {
    unimplemented!()
}

pub fn fd_count_pid(pid: u32) -> Result<usize> {
    unimplemented!()
}