-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize view range and render time charts during trace indexing
Initialize the unit controller view range with either the trace full range, or the persisted state view range if it is set. When the experiment hasn't been indexed yet, the initial view range may be empty. When a new output is opened while the trace is indexing, and the view range has never been set yet, initialize the view range to the current partial trace full range. This view range will remain during and after indexing unless the user changes the view range manually or presses the Reset button. When indexing completes, if the view range has never been set yet, initialize the view range to the final trace full range. In TimegraphOutputComponent, render the timegraph content and use the analysis-running-overflow overlay while the analysis is running. Let the analysis-running-overflow pass through pointer events to the underlying layer. In TimegraphOutputComponent componentDidUpdate(), update the chart layers only if the outputStatus has changed, not always when the outputStatus is RUNNING. This prevents recursive change of state causing stack overflow exceptions. Update the chart layers also if the timegraphTree state has changed. Perform a 'soft' update that does not refresh rows that already have the correct data. Perform a 'hard' update only where the marker categories or marker set have changed. Prevent a possible double update of the markers chart layer. Extract search bar code to private method and fix typo in its className. Use a different id for the markers chart layer to help debugging. Signed-off-by: Patrick Tasse <[email protected]>
- Loading branch information
1 parent
d4f1bc5
commit 90be8ec
Showing
3 changed files
with
97 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters