D9689: Add a per-process CPU usage graph shown in the process list

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Fri Jan 12 08:36:20 UTC 2018


kossebau added a comment.


  Looks like a very nice to have feature :) (no review though, not my playground, was just curious when you pointed to it on irc)

INLINE COMMENTS

> ProcessModel.h:210
> +Q_DECLARE_METATYPE(QVector<ProcessModel::PercentageHistoryEntry>);
> +
>  #endif

You could also add ` Q_DECLARE_TYPEINFO(ProcessModel::PercentageHistoryEntry, Q_PRIMITIVE_TYPE);` for some mini-opt, given the vector is changing size now and then (and needs its data copied to the new array).

REPOSITORY
  R111 KSysguard Library

REVISION DETAIL
  https://phabricator.kde.org/D9689

To: fvogt, #plasma
Cc: kossebau, broulik, ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180112/040ab33e/attachment.html>


More information about the Plasma-devel mailing list