mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-28 23:31:26 +12:00
Finished kernel proc filtering.
This commit is contained in:
parent
2b4000b857
commit
482734766a
1 changed files with 1 additions and 1 deletions
|
@ -1267,7 +1267,7 @@ namespace Proc {
|
|||
static void clear_kernel_cache() {
|
||||
static size_t latest_clear_time = 0;
|
||||
|
||||
if (latest_clear_time >= static_cast<size_t>(Config::getI("update_ms") * 100)) {
|
||||
if (latest_clear_time >= 256) {
|
||||
kernels_procs.clear();
|
||||
latest_clear_time = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue