-
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.
Provide front-end sorting of trees for based on the column
Right now the sorting is done using string sorting. If the data in the columns are numbers, then number sorting should be used. Moreover, some known string formatting can be reversed to extract the number and do a number comparison. For example, some data providers provide columns with duration, where the value is formatted to show 'ns' for nanosecond, 'us' micro-second and so on. Other example, are percentages shown. The tree of the CPU usage view when using the Trace Compass trace server is good example for different columns and formatting. Note that this implementation is a temporary solution until the TSP and server back-end is augmented to provide a different mechanism to support sorting. fixes #577 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
- Loading branch information
Showing
1 changed file
with
47 additions
and
17 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