perf-monitor-rs icon indicating copy to clipboard operation
perf-monitor-rs copied to clipboard

crash in Android " java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "dl_iterate_phdr"

Open MichaelJokAr opened this issue 3 years ago • 0 comments

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "dl_iterate_phdr"

fn getCpuUsage() -> f64 {
    let mut stat_p = ProcessStat::cur().unwrap();
    let _ = (0..1_000).into_iter().sum::<i128>();
    return stat_p.cpu().unwrap() * 100f64;
}

MichaelJokAr avatar Jun 21 '21 03:06 MichaelJokAr