Commit Graph
15 Commits
Author SHA1 Message Date
Kan-Ru Chen b4843ed841 Bug 1386495 - Add timeStamp to DOMEventMarkerPayload. r=mstange,smaug
MozReview-Commit-ID: B3b4laxMqQM
2017-08-03 15:42:42 +08:00
Kan-Ru Chen 8e4a7f5ce0 Bug 1382990 - Change the DOMEventMarkerPayload field name 'type' to 'eventType' to avoid conflicts. r=mstange
MozReview-Commit-ID: BX9nLoCybbG
2017-07-21 17:41:51 +08:00
Steve Fink 264b2dd8df Bug 1380770 - Add more info to GCMinor marker JSON, r=jonco 2017-07-13 17:36:46 -07:00
Nicholas Nethercote 4d8e21e334 Bug 1375776 (part 4) - Allow ProfilerMarkerPayload.h to be #included unconditionally. r=mstange.
This requires:

- Moving the constructors of ProfilerMarkerPayload and its subclasses into the
  .h file so they are visible even when ProfilerMarkerPayload.cpp isn't
  compiled.

- Similarly, using a macro to make StreamPayload() a crashing no-op when the
  profiler isn't enabled. (It is never called in that case.)
2017-06-23 16:24:15 +10:00
Nicholas Nethercote 6eabbf40a9 Bug 1375776 (part 3) - Improve destructor of ProfilerMarkerPayload and its subclasses. r=mstange.
No point having all these explicit empty destructors.

Also, we can avoid IOMarkerPayload's constructor by using a UniqueFreePtr.
2017-06-23 15:58:11 +10:00
Nicholas Nethercote c375ce69a8 Bug 1375776 (part 2) - Combine the two TracingMarkerPayload constructors. r=mstange. 2017-06-23 14:29:03 +10:00
Nicholas Nethercote dfdbae9308 Bug 1376993 (part 2) - Remove ProfilerJSEventMarker(). r=mstange.
It's needless indirection.
2017-06-28 16:44:28 -07:00
Nicholas Nethercote 4a9adbea0f Bug 1375299 (part 2) - Remove PROFILER_MARKER. r=mstange.
PROFILER_MARKER is now just a trivial wrapper for profiler_add_marker(). This
patch removes it.
2017-06-22 13:40:21 +10:00
Nicholas Nethercote c7feb52954 Bug 1375275 (part 2) - Remove TracingMarkerPayload::Get{Category,Kind}(). r=mstange. 2017-06-21 20:41:36 +10:00
Nicholas Nethercote fac3f5d781 Bug 1374127 (part 2) - Clean up ProfilerMarkerPayload. r=mstange.
This patch does the following.

- Renames some ProfilerMarkerPayload subclasses so they all of the form
  "FooMarkerPayload", to make the subclass relationship clearer.
  (ProfilerMarkerTracing -- now TracingMarkerPayload -- was the worst
  offender.)

- Removes ProfilerMarkerImagePayload and TouchDataPayload, neither of which are
  used.

- Changes streamCommonProps() to StreamCommonProps().

- Does some minor style and comment fixes in ProfilerMarkerPayload.h.
2017-06-19 13:32:32 +10:00
Nicholas Nethercote de9bc554f7 Bug 1374127 (part 1) - Add using namespace mozilla; to ProfilerMarkerPayload.cpp. r=mstange. 2017-06-16 12:46:10 +10:00
Nicholas Nethercote 4c314eba0e Bug 1368915 (part 3) - Rename aStartTime parameters as aProcessStartTime where appropriate. r=mstange.
This increases naming consistency. The remaining aStartTime parameters within
the profiler refer to a different start time than the process start time.
2017-06-02 09:41:51 +10:00
Steve Fink 7c0c4ef112 Bug 1322560 - Record minor GC timings in profiles, r=jonco, mccr8, mstange 2017-04-25 13:24:34 -07:00
Steve Fink ccdbf25343 Bug 1322560 - Inject detailed GC timing info into profiles, r=mstange 2017-05-02 16:13:49 -07:00
Nicholas Nethercote 3dbdcca05c Bug 1123754 (part 1) - Rename ProfilerMarkers.{h,cpp} as ProfilerMarkerPayload.{h,cpp}. r=mstange.
Because ProfilerMarkerPayload is the main type defined in these files, and
because the next patch is going to introduce ProfilerMarker.{h,cpp}, which
would be confusingly similar to the old names.
2017-04-27 07:36:19 +10:00