summaryrefslogtreecommitdiffstats
path: root/unit-trace
Commit message (Collapse)AuthorAge
* Make default viz. time interval 1 msMac Mollison2011-01-31
| | | | | | Conflicts: unit-trace
* Improve behavior when out-of-order record detectedMac Mollison2010-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to sort records from different files into a single stream (in order of timestamp), unit-trace uses per-cpu buffers; the length of the buffers was previously hardcoded. If that length proved insufficient (resulting in out-of-order records), before this commit, unit-trace produced a FATAL ERROR and terminated. Now, unit-trace merely keeps a record of all out-of-order records and prints a warning at the end, listing them. The motivation for this change was the observation that at least some times, grossly out-of-order errors were at the very beginning of the trace (e.g. task system release), so they don't really matter. If we know the IDs of the records that are unordered, we are able to check (with the -o output) to see if their misordering actually matters or not. Moreover, the buffer size can now be specified with -b, and the previously hard-coded value (200) is the default. Making this number smaller greatly improves runtime, and vice versa. I suspect that further investigation into the problem of sorting records will show that the current method is overkill; down the road, we may be able to replace this method with something much faster. (The current method has the advantage that it is extremely scalable, but I don't think that pays off for the size of traces we typically examine.)
* Merge branch 'wip-gary'Mac Mollison2010-04-13
|\ | | | | | | | | | | | | - Adds time_per_maj option to visualizer Conflicts: unit-trace
| * Minor fixesGary Bressler2010-04-12
| |
* | Only import modules as neededMac Mollison2010-04-11
|/ | | | | | In the case of viz, the results in errors about not having pycairo and pygtk potentially being printed only if the user actually uses the -v flag
* Updated the documentation to describe the visualizer, made unit-trace itself ↵Gary Bressler2010-04-08
| | | | not require gtk/cairo, and a few other minor things.
* Minor improvement to inversion stats moduleMac Mollison2010-03-26
| | | | | - Check and print error if G-EDF test not enabled - Clean up output
* Refactored stats module to be an output moduleMac Mollison2010-03-26
| | | | | Previously this was an "intermediate" module. Makes more sense to have it as an output module.
* Improve stats.py to show longest n inversionsMac Mollison2010-03-26
|
* Fixed some graphical glitches, along with streamlining the access to the ↵Gary Bressler2010-03-19
| | | | visualizer.
* Installation improvementsMac Mollison2010-03-14
unit-trace.py -> unit-trace and placed in /usr/bin