You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call refresh_processes_specifics with specified pid, the function refresh_procs in process.rs always get all pid entries, then filter the specified process out.
Maybe it is not efficient for the case that I only need one process's information.
It will be much more slower with reading every task files of all processes, as issue #1432 says.
The text was updated successfully, but these errors were encountered:
@xiaopeng8570 does this mean it reads stat files for all pids and then filters the result? that does seem super wasteful. I didnt realize that was the case.
When I call refresh_processes_specifics with specified pid, the function refresh_procs in process.rs always get all pid entries, then filter the specified process out.
Maybe it is not efficient for the case that I only need one process's information.
It will be much more slower with reading every task files of all processes, as issue #1432 says.
The text was updated successfully, but these errors were encountered: