mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 12:21:59 +02:00
[statistics] add amount of resources in figures title
This commit is contained in:
parent
8c8511c8ca
commit
fe231518a6
2 changed files with 31 additions and 26 deletions
|
@ -188,7 +188,7 @@ class StatisticsThread(threading.Thread):
|
|||
self.statistics.duration = 0
|
||||
self.statistics.cpuUsage = []
|
||||
self.statistics.nbCores = psutil.cpu_count(logical=False)
|
||||
self.statistics.cpuFreq = psutil.cpu_freq()[2]
|
||||
self.statistics.cpuFreq = float(psutil.cpu_freq()[2]) / 1024.0 # convert MHz to GHz
|
||||
self.statistics.ramUsage = []
|
||||
self.statistics.ramAvailable = psutil.virtual_memory().total / bytesPerGiga
|
||||
self.statistics.swapUsage = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue