Commit Graph

22 Commits (06bf80cc3b6e9ebd4907f192b30a54766f334b98)

Author SHA1 Message Date
elsid 9d04c1b2b8
Consider absent value in a frame as none
There are frames with missing values because of loading screens. They should not
be replaced with zeroes or other values. Otherwise showed graphs and calculated
statistics are wrong.
8 months ago
elsid 6b860caa3e
Fix spelling 10 months ago
elsid 080245aa26
Do not align arrays by duplicating last value
To produce the same stats for single and multiple sources.

If there are multiple sources with different number of frames, leave the number
of values per each metric as is. For example:

source 1: [1, None, 2]
source 2: [3, None, 4, 5]

before this change becomes:

source 1: [1, 1, 2, 2]
source 2: [3, 3, 4, 5]

and after this change:

source 1: [1, 1, 2]
source 2: [3, 3, 4, 5]
10 months ago
elsid 2b53c2335f
Support printing stats table in json format 10 months ago
elsid 60940e7561
Fill absent values with previous present
Due to OSG stats reporting usage and implementation for some attributes values
are missing on loading screens.
1 year ago
elsid c6b7dfc23a
Convert to float to compute stdev 1 year ago
elsid 03a7643301
Add option to show timeseries delta graph to osg_stats.py
To see spikes in a single frame and correlate them with frame duration.
1 year ago
elsid 9019a815eb
Add option to sort stats fields 1 year ago
elsid faded22e41
Hide common path prefix by default 1 year ago
elsid 2a660be8a2
Fix end_frame computation in osg_stats.py
If begin_frame is not the first frame then begin_frame + number of frames points
to a frame after end_frame with shift begin_frame - first_frame.
2 years ago
elsid cca8faf422
Use dashed line stype to draw sum 2 years ago
elsid 0abe643a15
Add sum column to stats table 2 years ago
elsid 7989d1645f
Run integration tests in CI 3 years ago
elsid 5f71afa274
Fix matlab deprecation warning
scripts/osg_stats.py:163: MatplotlibDeprecationWarning:
The set_window_title function was deprecated in Matplotlib 3.4 and will be removed two minor releases later. Use manager.set_window_title or GUI-specific methods instead.
  fig.canvas.set_window_title('timeseries')
3 years ago
elsid b6bddbfae2
Support regexp_match for hist_threshold and hist 3 years ago
fredzio 3754e59de0 Add a regexp_match flag for keys used in stats and timeseries. When set, the argument given is considered a regexp against which the keys are matched. 3 years ago
fredzio b02560bbae Add a precision parameter to format floating point number in stats mode 3 years ago
elsid e9f253c473
Support stacked histogram for frames with duration over given threshold 3 years ago
elsid d879e4aba5
Use real frame number for axis x 3 years ago
elsid 36ba56a513
Support multiple file sources for osg stats 3 years ago
elsid 43538a5ca5
Support commulative timeseries graph for osg stats 3 years ago
elsid 1d69681c0a
Add a script to analyze OpenSceneGraph log 3 years ago