Fix: reset analysis when beginning a new period
authorAntoine Busque <abusque@efficios.com>
Tue, 10 Nov 2015 20:48:15 +0000 (15:48 -0500)
committerAntoine Busque <abusque@efficios.com>
Tue, 10 Nov 2015 20:48:15 +0000 (15:48 -0500)
commit72e07bd50cce7366e3920bd72b56882193829a28
tree7b43978b7c20c4185faf72423440cf0185f1f9a0
parent74d112b53237f5bf6b6f91ad70f65b5b0c248ae4
Fix: reset analysis when beginning a new period

Previously, the analysis was reset when a period ended. Although the
effect was strictly equivalent when using a single event to mark both
the beginning and end of the period, or a fixed length period, when
using distinct begin and end events the effect is quite different.

Resetting at the end of a period instead of the beginning had the
effect of accumulating analysis results during the periodless gap
before the next begin event and wrongly considering them as part of
the next period. Resetting at the beginning of the next period fixes
this issue.

Signed-off-by: Antoine Busque <abusque@efficios.com>
lttnganalyses/core/analysis.py
This page took 0.023886 seconds and 5 git commands to generate.