gecko-dev/dom/performance
Gerald Squelart 95f77c2409 Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum
All calls to `profiler_add_marker()` (outside of the profilers code) are
now replaced by either:
- `PROFILER_ADD_MARKER(name, categoryPair)`
- `PROFILER_ADD_MARKER_WITH_PAYLOAD(name, categoryPair, TypeOfMarkerPayload,
                                    (payload, ..., arguments))`

This makes all calls consistent, and they won't need to prefix the category pair
with `JS::ProfilingCategoryPair::`.

Also it will make it easier to add (and later remove) internal-profiling
instrumentation (bug 1576550), and to replace heap-allocated payloads with
stack-allocated ones (bug 1576555).

Differential Revision: https://phabricator.services.mozilla.com/D43588

--HG--
extra : moz-landing-system : lando
2019-09-04 07:56:51 +00:00
..
tests Bug 1577746 - Enable ESLint rule object-shorthand for dom/. r=baku 2019-09-02 11:22:27 +00:00
moz.build Bug 1231213 - Implement cross-process ServiceWorkerGlobalScope.skipWaiting(). r=asuth 2019-08-15 17:27:28 +00:00
Performance.cpp Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum 2019-09-04 07:56:51 +00:00
Performance.h
PerformanceEntry.cpp
PerformanceEntry.h
PerformanceMainThread.cpp
PerformanceMainThread.h
PerformanceMark.cpp
PerformanceMark.h
PerformanceMeasure.cpp
PerformanceMeasure.h
PerformanceNavigation.cpp
PerformanceNavigation.h
PerformanceNavigationTiming.cpp
PerformanceNavigationTiming.h
PerformanceObserver.cpp
PerformanceObserver.h
PerformanceObserverEntryList.cpp
PerformanceObserverEntryList.h
PerformanceResourceTiming.cpp
PerformanceResourceTiming.h
PerformanceServerTiming.cpp
PerformanceServerTiming.h
PerformanceService.cpp
PerformanceService.h
PerformanceStorage.h
PerformanceStorageWorker.cpp
PerformanceStorageWorker.h
PerformanceTiming.cpp
PerformanceTiming.h
PerformanceWorker.cpp
PerformanceWorker.h