Fabien Castan
12d80ac57b
[core] stats: reduce stats refresh precision
2020-10-13 16:11:07 +02:00
Fabien Castan
cdee25e26e
[core] stats: minor simplification
...
add timeout on nvidia-smi
add try/except
remove duplicated code
no error is no nvidia-smi available
2020-10-13 16:07:42 +02:00
Fabien Castan
88099dd28c
[core] stats: avoid crash in psutil (windows only)
...
https://github.com/giampaolo/psutil/issues/1763
2020-10-13 16:04:04 +02:00
Fabien Castan
8e141d7e58
[core] stats: do not break on stats errors
...
Watching the subprocess for statistics may create errors on windows on specific cases, it should not break the UI.
2020-03-17 19:52:07 +01:00
Fabien Castan
6c7523243a
[core] stats: no processing in ComputerStatistics constructor
...
ComputerStatistics is instanciated for each NodeChunk, so any
computation here takes time. Instead we initialize the values on the
first update().
2019-09-10 18:56:24 +02:00
Fabien Castan
8c62437a68
[core] stats: use cElementTree on python 2
2019-09-10 18:56:20 +02:00
Fabien Castan
4d7ea32721
[core] stats bugfix: do not rely the ordering of the json entries
...
* do not rely on the ordering of the json entries, as it can vary from
one version to another.
* ensure variables are always initialized (even in case of exception)
* add some debug logging on errors in nvidia-smi parsing
2019-09-10 12:19:40 +02:00
Lee Geertsen
73f667d226
Add new CPU and RAM stats with new psutil version 5.6.3
2019-07-26 11:32:33 +02:00
Lee Geertsen
edf5dc7570
Set update interval variable and add it to statistics file
2019-07-26 11:31:31 +02:00
Lee Geertsen
0a0d21d4a1
Add GPU stats
2019-07-26 11:30:27 +02:00
Yann Lanthony
a677f6b297
[core][win] remove non available stat "num_fds"
2018-03-21 17:24:19 +01:00
Yann Lanthony
d190012d1d
[stats] remove signal handling + misc fixes
...
* signal can only be used in the main thread, leading to an error when StatisticThread is instantiated inside a QThread
* misc fixes on imports and variable names
2017-11-10 18:28:00 +01:00
Fabien Castan
1e4f8f8a61
Add chunk notion for parallelization and implement specific updateInternals in CameraInit node
...
* Add chunk notion for parallelization
* Allows Node desc to implement custom updateInternals
* CameraInit node implement a specific updateInternals to update the
input image list
* FeatureExtraction, FeatureMatching, DepthMap, DepthMapFilter:
implement parallelization
2017-11-07 15:47:14 +01:00
Fabien Castan
9d3f7252c1
[core] move process code into the node description
...
Now CommandLineNode contains the code to launch the command line as a
subprocess.
2017-10-31 21:28:44 +01:00
Yann Lanthony
74e4089c68
[stats] update stats one last time only if subprocess is still running
2017-10-23 14:42:39 +02:00
Yann Lanthony
23541db54d
[core] stop StatisticsThread when node is processed
2017-10-13 17:13:31 +02:00
Yann Lanthony
e893a3dfc6
rename package 'processGraph' to 'core'
2017-10-09 12:16:20 +02:00