1. 23 May, 2022 1 commit
  2. 06 May, 2022 1 commit
  3. 25 Apr, 2022 1 commit
  4. 24 Apr, 2022 1 commit
  5. 23 Apr, 2022 1 commit
  6. 31 Mar, 2022 1 commit
  7. 29 Mar, 2022 1 commit
  8. 12 Mar, 2022 1 commit
  9. 11 Mar, 2022 1 commit
  10. 12 Feb, 2022 1 commit
  11. 04 Feb, 2022 1 commit
  12. 01 Feb, 2022 6 commits
  13. 31 Jan, 2022 2 commits
  14. 30 Jan, 2022 3 commits
  15. 29 Jan, 2022 4 commits
  16. 28 Jan, 2022 2 commits
  17. 27 Jan, 2022 3 commits
    • Jan Ziak's avatar
      Code cleanup: Percentiles and MAX · 98d742bb
      Jan Ziak authored
      98d742bb
    • Jan Ziak's avatar
      Enable fractional update internals · 30eedb72
      Jan Ziak authored
      Enables changing the update interval from 0.25 seconds to 10 seconds,
      in steps of 0.25 seconds.
      
      Closes: #14
      30eedb72
    • Jan Ziak's avatar
      Prevent sysfs read latency from interfering with GUI updates · bda043b7
      Jan Ziak authored
      This patch moves /sys/.../scaling_cur_freq reads to a separate thread
      that is separate from the GUI thread. In addition, in case the read latency
      is longer than the refresh time of the cpufreq plugin, the plugin will
      not schedule a new sysfs read until the currently running sysfs read
      terminates.
      
      The implementation protects data shared among threads using mutexes.
      The data protected by a single mutex is very small (less than 100 bytes).
      It is improbable for the timing of the critical sections in different
      threads to interfere with each other.
      
      Some examples of reading CPU info from sysfs files:
      
      - Ryzen 7 3700X (8 cores, 16 threads): latency of a batch of 16 reads of
        /sys/.../scaling_cur_freq files: up to 200 milliseconds
      
      - Ryzen 9 3900X (12 cores, 24 threads): latency of a batch of 24 reads of
        /sys/.../scaling_cur_freq files: up to 800 milliseconds
      
      - The sysfs latency depends on the frequency of the reads.
        If reading more than 2 times per second then the latency of each batch
        of reads is 1 ms. But if reading less than 1 times per second then the
        latency is much longer: 200ms or 800ms.
      
      Closes: #15
      bda043b7
  18. 26 Jan, 2022 3 commits
  19. 25 Jan, 2022 3 commits
  20. 24 Jan, 2022 3 commits