gecko-dev/xpcom/threads
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
..
AbstractEventQueue.h
AbstractThread.cpp
AbstractThread.h
BlockingResourceBase.cpp
BlockingResourceBase.h
components.conf
CondVar.h
CPUUsageWatcher.cpp
CPUUsageWatcher.h
DataMutex.h
DeadlockDetector.h
EventQueue.cpp
EventQueue.h
IdleTaskRunner.cpp
IdleTaskRunner.h
InputEventStatistics.cpp
InputEventStatistics.h
LazyIdleThread.cpp
LazyIdleThread.h
LeakRefPtr.h
MainThreadIdlePeriod.cpp
MainThreadIdlePeriod.h
MainThreadQueue.h
MainThreadUtils.h
Monitor.h
moz.build
MozPromise.h
Mutex.h
nsEnvironment.cpp
nsEnvironment.h
nsICancelableRunnable.h
nsIEnvironment.idl
nsIEventTarget.idl
nsIIdlePeriod.idl
nsIIdleRunnable.h
nsINamed.idl
nsIProcess.idl
nsIRunnable.idl
nsISerialEventTarget.idl
nsISupportsPriority.idl
nsIThread.idl
nsIThreadInternal.idl
nsIThreadManager.idl
nsIThreadPool.idl
nsITimer.idl
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp
nsProxyRelease.cpp
nsProxyRelease.h
nsThread.cpp
nsThread.h
nsThreadManager.cpp
nsThreadManager.h
nsThreadPool.cpp
nsThreadPool.h
nsThreadSyncDispatch.h
nsThreadUtils.cpp
nsThreadUtils.h
nsTimerImpl.cpp
nsTimerImpl.h
PerformanceCounter.cpp
PerformanceCounter.h
PrioritizedEventQueue.cpp
PrioritizedEventQueue.h
Queue.h
RecursiveMutex.cpp
RecursiveMutex.h
ReentrantMonitor.h
RWLock.cpp
RWLock.h
SchedulerGroup.cpp
SchedulerGroup.h
SharedThreadPool.cpp
SharedThreadPool.h
StateMirroring.h
StateWatching.h
SynchronizedEventQueue.cpp
SynchronizedEventQueue.h
SyncRunnable.h
SystemGroup.cpp
SystemGroup.h
TaskCategory.h
TaskDispatcher.h
TaskQueue.cpp
TaskQueue.h
ThreadBound.h
ThreadDelay.cpp
ThreadDelay.h
ThreadEventQueue.cpp
ThreadEventQueue.h
ThreadEventTarget.cpp
ThreadEventTarget.h
ThreadLocalVariables.cpp
ThrottledEventQueue.cpp
ThrottledEventQueue.h
TimerThread.cpp
TimerThread.h