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 calling .refresh_all on an instance of sysinfo::common::system::System it does not remove processes that no longer exist. .refresh_all is merely an alias for calling 'refresh_specifics(RefreshKind::everything())' which implies that old data would be removed if it is no longer existent. The call to .refresh_processes_specifics is made with remove_dead_processes being false though.
In my opinion this should either be made transparent in the functions documentation or be changed to be called with remove_dead_processes to be false (with all performance implications that come along with it).
The text was updated successfully, but these errors were encountered:
sysinfo/src/common/system.rs
Line 112 in b290678
When calling
.refresh_all
on an instance ofsysinfo::common::system::System
it does not remove processes that no longer exist..refresh_all
is merely an alias for calling 'refresh_specifics(RefreshKind::everything())' which implies that old data would be removed if it is no longer existent. The call to.refresh_processes_specifics
is made withremove_dead_processes
being false though.In my opinion this should either be made transparent in the functions documentation or be changed to be called with
remove_dead_processes
to be false (with all performance implications that come along with it).The text was updated successfully, but these errors were encountered: