fvogt updated this revision to Diff 24836. fvogt added a comment.
Instead of updating the last entry's timestamp if the value is the same, add a new entry only if the latest entry has a certain age. Otherwise, the interpolation results would look differently and processes had different lengths of histroy graphs depending on the values, which looks odd. REPOSITORY R111 KSysguard Library CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D9689?vs=24804&id=24836 BRANCH history REVISION DETAIL https://phabricator.kde.org/D9689 AFFECTED FILES processui/ProcessModel.cpp processui/ProcessModel.h processui/ProcessModel_p.h processui/ksysguardprocesslist.cpp tests/processtest.cpp tests/processtest.h To: fvogt, #plasma Cc: ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart