Commit Graph

21 Commits

Author SHA1 Message Date
baldurk 286e117d56 Add headers needed for compilation without PCH
* Removing includes of Code/CaptureContext.h removed some dependencies.
2017-11-23 00:20:01 +00:00
baldurk c860d8baa3 Fix uninitialized variable warnings from static analysis
* Reported by Coverity Scan
2017-11-22 11:31:07 +00:00
baldurk 33ff48811b Normalise terminology in UI code - don't call captures 'logs'
* Log is an overloaded term since it can also mean the debug log. We now
  consistently refer to capture files as capture files or just captures
  for short. The log is just for log messages and diagnostics.
* The user-facing UI was mostly already consistent, but many of the
  public interfaces exposed to python needed to be renamed, and it made
  more sense just to make everything consistent.
2017-11-17 16:30:57 +00:00
baldurk e6c5c03896 Remove rdctype namespace. Rename rdctype::str -> rdcstr, rdcarray, etc
* Since these types are more prevalent than originally designed, it
  makes more sense to remove the namespace for ease of typing/naming.
* Also add a specialised type 'bytebuf' for an array of bytes.
* This makes mapping easier to SWIG since there's no special casing for
  namespaced arrays. Especially so for nested cases like
  rdctype::array<rdctype::str> -> rdcarray<rdcstr>
2017-11-03 16:04:59 +00:00
baldurk 5e59616a8c Update rdctype::array to have a more stl-like mutable interface
* For the most part the interface is stl-compatible, but we have a few
  little changes of our own for convenience.
* This class is still needed after deleting the C# UI, because we don't
  want to pass C++ stl structs over module boundaries and possibly run
  into hard to diagnose incompatibilities.
2017-11-03 16:01:58 +00:00
baldurk 0d7a064443 Right align both durations in event browser and perf counter data 2017-10-27 12:26:02 +01:00
baldurk 2a0fac1ad6 Compile fixes on linux 2017-08-24 19:15:28 +01:00
baldurk c7265b1825 Allow sorting and moving columns in counter results.
* We do a custom sort so that it's always in the right order even if
  the data isn't formatted exactly as a number.
2017-08-24 16:33:42 +01:00
baldurk 760c04844a Add CSV export button to counter viewer 2017-08-24 15:00:12 +01:00
baldurk 9c4aa3a50a Bind to clicked not pressed (clicked fires too early, before mouseup) 2017-08-24 15:00:11 +01:00
baldurk ace9bed79b Pass selected counters back into selection dialog
* This means that each time you open the dialog you don't start with an
  empty set, instead you start with the set of counters you had
  previously selected.
2017-08-24 15:00:09 +01:00
baldurk 533a7be348 Use Formatter for float-formatting preferences 2017-08-24 15:00:07 +01:00
baldurk 3650f36cbf Use time unit configured for event browser (currently) for time values 2017-08-24 15:00:06 +01:00
baldurk 43a4cb5818 Disabling edit triggers on results view, add double click to jump to EID 2017-08-24 15:00:04 +01:00
baldurk ca04122d64 Resize columns to fit contents after setting the values 2017-08-24 15:00:03 +01:00
baldurk 42435df93a Don't allow timing while no capture is loaded 2017-08-24 15:00:01 +01:00
Matthäus G. Chajdas 8478bfbb52 Address review feedback. 2017-08-24 13:39:11 +01:00
Matthäus G. Chajdas 4d25394c0b Implement loading/saving in the performance counter selection. 2017-08-24 13:21:06 +01:00
Matthäus G. Chajdas b39844bb59 Hook up the counter capture and result display. 2017-08-24 13:21:04 +01:00
Matthäus G. Chajdas 03343239c7 Implement a Performance Counter Viewer pane, hook up selection dialog 2017-08-24 13:21:03 +01:00
Matthäus G. Chajdas ba4c9d6837 Prepare everything for the performance counter viewer window. 2017-08-24 13:21:02 +01:00