1. 29 Nov, 2019 1 commit
  2. 27 Sep, 2019 2 commits
  3. 19 Sep, 2019 2 commits
  4. 13 Sep, 2019 1 commit
    • David Edmundson's avatar
      Create a plugin framework for processes · 06468841
      David Edmundson authored
      Summary:
      Currently everything for processes is hardcoded with a method for each
      process property. This is core functionality like CPU usage and memory
      usage but it's not very extensible.
      
      Currently ProcessModel is full of extra hacks to add X11 data when
      really it should be a dumb proxier of information.
      
      We have a pending patch to show network stats, and we have a pending
      patch to add powertop information, which all work in a different way
      from just reading data in /proc
      
      In order to keep it flexible a more generic format method is added which
      doesn't require hardcoding knowledge of types.
      
      This patch is part of a series, next steps are adding various plugins,
      stripping proces model - and then using the ProcessAttribute class to
      provide the metadata for the core process attributes so that
      ProcessModel can become a very simple view with no code duplication.
      
      Reviewers: #plasma, ahiemstra
      
      Reviewed By: ahiemstra
      
      Subscribers: meven, zzag, ahiemstra, alexde, broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D23287
      06468841
  5. 09 Sep, 2019 1 commit
    • Yunhe Guo's avatar
      HiDPI icon pixmap · 5906261d
      Yunhe Guo authored
      Summary:
      Return HiDPI icon pixmap, so the icon in process list is sharp in HiDPI display.
      
      Before:
      
      {F7331534}
      
      After:
      
      {F7331521}
      
      Reviewers: #plasma, ngraham
      
      Reviewed By: ngraham
      
      Subscribers: GB_2, #plasma, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D23794
      5906261d
  6. 04 Sep, 2019 1 commit
  7. 27 Aug, 2019 1 commit
    • Arjen Hiemstra's avatar
      Add vmPSS to Process and display it as "total memory" column · 3a285053
      Arjen Hiemstra authored
      Summary:
      This adds a "proportional state set" value to ProcessCore::Process, that is then
      exposed as "Total Memory" column in KSysGuard. This column is hidden by default.
      
      PSS is the amount of memory a process uses privately + the amount of shared memory
      divided by the amount of processes sharing that memory. It is, as far as I know, the
      closest we can get to "total physical memory usage" for a process.
      
      The value for PSS is read from /proc/{pid}/smaps_rollup . This unfortunately means
      we cannot currently display PSS for processes not owned by the current user, as
      smaps_rollup is not world-readable.
      
      For some background on this, see https://lkml.org/lkml/2017/8/9/1073 , which is the
      patch that adds smaps_rollup and talks about what Android uses it for.
      
      Test Plan:
      Run ksysguard, then toggle display of the "Total Memory" column. Values should be
      higher than the "Memory" column.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D23382
      3a285053
  8. 20 May, 2019 1 commit
  9. 18 May, 2019 1 commit
  10. 24 Apr, 2019 1 commit
  11. 15 Feb, 2019 1 commit
  12. 06 Feb, 2019 1 commit
  13. 26 Oct, 2018 1 commit
  14. 24 May, 2018 1 commit
  15. 09 Apr, 2018 1 commit
  16. 05 Feb, 2018 1 commit
  17. 22 Jan, 2018 1 commit
  18. 20 Jan, 2018 1 commit
  19. 19 Jan, 2018 1 commit
  20. 15 Jan, 2018 1 commit
  21. 17 Nov, 2017 1 commit
  22. 15 Nov, 2017 1 commit
  23. 04 Feb, 2017 1 commit
  24. 03 Feb, 2017 1 commit
  25. 16 Jul, 2016 1 commit
  26. 25 Jan, 2016 1 commit
  27. 29 Oct, 2015 1 commit
  28. 20 Feb, 2015 7 commits
  29. 13 Jan, 2015 3 commits
    • Gregor Mi's avatar
      add comment on duplicate code · 71bc6318
      Gregor Mi authored
      71bc6318
    • Gregor Mi's avatar
      Add new column "Relative Start Time" · 3f9ecc33
      Gregor Mi authored
      REVIEW: 121717
      CHANGELOG: New column "Relative Start Time" which shows how much time has elapsed since the process was started.
      
      Implementation details:
      - startTime: The time the process started after system boot. Since Linux
      2.6, the value is expressed in clock ticks. See man proc.
      - new column also got tooltip and What's this entry
      - column is hidden by default (see ksysguardprocesslist.cpp)
      - add TimeUtil class
      - method secondsToHumanElapsedString is unit tested in chronotest
      3f9ecc33
    • Gregor Mi's avatar
      reformat code: consistent linebreaks between methods · 788aab1a
      Gregor Mi authored
      in processui/ProcessModel.cpp
      788aab1a
  30. 23 Nov, 2014 1 commit