gecko-dev/xpcom/threads
Olli Pettay 2d108f18b0 Bug 1554292 - Add simple telemetry probe to gather information about threads' wakeup frequency, r=erahm
This patch takes the approach to count up to 100 wakeups and reports then time it took for that period. Regression in wakeups could
show up as decreased mean or median time.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 20:26:09 +00:00
..
AbstractEventQueue.h Bug 1524006 - Add a medium-high priority queue between high and normal, r=froydnj 2019-02-28 22:38:53 +02:00
AbstractThread.cpp Bug 1523969 part 27 - Move method definition inline comments to new line in 'xpcom/'. r=froydnj 2019-02-25 16:14:01 -06:00
AbstractThread.h Bug 1529399 Remove unnecessary wrapper runnable from CreateDirectTaskDrainer() for stable state runnables r=padenot 2019-02-25 10:50:19 +00:00
BlockingResourceBase.cpp Bug 1536129 - Fix !MOZ_CALLSTACK_DISABLED blocking resource acquisition checking, r=erahm 2019-03-19 17:12:42 +00:00
BlockingResourceBase.h Bug 1536129 - Fix !MOZ_CALLSTACK_DISABLED blocking resource acquisition checking, r=erahm 2019-03-19 17:12:42 +00:00
CPUUsageWatcher.cpp Bug 1534878 - xpcom: Make some global functions static. r=erahm 2019-02-24 17:35:59 -08:00
CPUUsageWatcher.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
CondVar.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
DataMutex.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-01-21 14:49:22 +00:00
DeadlockDetector.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
EventQueue.cpp Bug 1522150: Rename EventPriority to EventQueuePriority to avoid name conflict with MacOS r=froyd 2019-01-26 12:18:05 -05:00
EventQueue.h Bug 1522150: Rename EventPriority to EventQueuePriority to avoid name conflict with MacOS r=froyd 2019-01-26 12:18:05 -05:00
IdleTaskRunner.cpp Bug 1515216, ensure IdleTaskRunners are added only once to RefreshDriver's idle runnable list, r=mccr8 2019-04-15 15:41:15 +00:00
IdleTaskRunner.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
InputEventStatistics.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
InputEventStatistics.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
LazyIdleThread.cpp Bug 1553856: LazyIdleThread should set names for the nsThreads it spawns r=froydnj 2019-05-24 12:50:05 +00:00
LazyIdleThread.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
LeakRefPtr.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MainThreadIdlePeriod.cpp Bug 1523969 part 27 - Move method definition inline comments to new line in 'xpcom/'. r=froydnj 2019-02-25 16:14:01 -06:00
MainThreadIdlePeriod.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MainThreadQueue.h Bug 1552958 - De-templatize PrioritizedEventQueue, r=froydnj 2019-05-21 18:20:34 +00:00
MainThreadUtils.h Bug 1490496 - implement XPCOM FFI for key-value storage r=nika,lina,mossop 2019-02-07 16:14:04 +00:00
Monitor.h Bug 1062533 - part 5 - add {Mutex,Monitor}::TryLock methods; r=mccr8 2019-01-09 11:09:24 -04:00
MozPromise.h Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
Mutex.h Bug 1062533 - part 5 - add {Mutex,Monitor}::TryLock methods; r=mccr8 2019-01-09 11:09:24 -04:00
PerformanceCounter.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
PerformanceCounter.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PrioritizedEventQueue.cpp Bug 1552643 - P3. rename medium_high_event_queue.enabled pref. r=froydnj 2019-05-26 15:00:09 +00:00
PrioritizedEventQueue.h Bug 1552958 - De-templatize PrioritizedEventQueue, r=froydnj 2019-05-21 18:20:34 +00:00
Queue.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
RWLock.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
RWLock.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
RecursiveMutex.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
RecursiveMutex.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
ReentrantMonitor.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
SchedulerGroup.cpp Bug 1523969 part 27 - Move method definition inline comments to new line in 'xpcom/'. r=froydnj 2019-02-25 16:14:01 -06:00
SchedulerGroup.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-15 08:15:57 +00:00
SharedThreadPool.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
SharedThreadPool.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
StateMirroring.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
StateWatching.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
SyncRunnable.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
SynchronizedEventQueue.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
SynchronizedEventQueue.h Bug 1516277 - Add local execution mode to nsThread r=janv,froydnj 2019-03-06 16:26:07 +00:00
SystemGroup.cpp Bug 1523969 part 27 - Move method definition inline comments to new line in 'xpcom/'. r=froydnj 2019-02-25 16:14:01 -06:00
SystemGroup.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TaskCategory.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TaskDispatcher.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
TaskQueue.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TaskQueue.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ThreadBound.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ThreadDelay.cpp Bug 1534878 - xpcom: #include headers for global functions' declarations. r=erahm 2019-03-07 23:32:54 -08:00
ThreadDelay.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ThreadEventQueue.cpp Bug 1552958 - De-templatize PrioritizedEventQueue, r=froydnj 2019-05-21 18:20:34 +00:00
ThreadEventQueue.h Bug 1552958 - De-templatize PrioritizedEventQueue, r=froydnj 2019-05-21 18:20:34 +00:00
ThreadEventTarget.cpp Bug 1522150: Rename EventPriority to EventQueuePriority to avoid name conflict with MacOS r=froyd 2019-01-26 12:18:05 -05:00
ThreadEventTarget.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ThreadLocalVariables.cpp Bug 1532253 - Add NS_NewURIOnAnyThread r=baku 2019-03-19 15:11:31 +00:00
ThrottledEventQueue.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
ThrottledEventQueue.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
TimerThread.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
TimerThread.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
components.conf Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj 2019-04-09 21:13:16 +00:00
moz.build Bug 1532253 - Add NS_NewURIOnAnyThread r=baku 2019-03-19 15:11:31 +00:00
nsEnvironment.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsEnvironment.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsICancelableRunnable.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsIEnvironment.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIEventTarget.idl
nsIIdlePeriod.idl
nsIIdleRunnable.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsINamed.idl
nsIProcess.idl
nsIRunnable.idl Bug 1534012 - Use a low priority ThrottledEventQueue for postMessages during page load r=smaug 2019-05-16 19:35:30 +00:00
nsISerialEventTarget.idl
nsISupportsPriority.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIThread.idl Bug 1522150: Add a DeferredTimers queue ahead of the normal Idle EventQueue r=froyd 2019-01-26 12:18:05 -05:00
nsIThreadInternal.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIThreadManager.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIThreadPool.idl Bug 1535361 - Let stream transport service idle with 5 threads instead of only one to not create/kill threads in quick bursts; add option to thread pool to shorten the idle timeout progressively with number of idle thread to save memory, r=dragana 2019-03-19 14:35:12 +00:00
nsITimer.idl Bug 1539499. Make nsITimer builtinclass. r=froydnj 2019-03-28 13:09:03 +00:00
nsMemoryPressure.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsMemoryPressure.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsProcess.h Bug 1386760 - Remove the ExecutableName annotation r=froydnj 2019-04-17 14:05:42 +00:00
nsProcessCommon.cpp Bug 1386760 - Remove the ExecutableName annotation r=froydnj 2019-04-17 14:05:42 +00:00
nsProxyRelease.cpp Bug 1482608 - Add owning thread pointer holders for Rust code. r=nika,myk 2019-03-25 04:49:24 +00:00
nsProxyRelease.h Bug 1536719. Fix handling of member method calls in the MOZ_CAN_RUN_SCRIPT analysis. r=andi 2019-03-21 11:48:33 +00:00
nsThread.cpp Bug 1554292 - Add simple telemetry probe to gather information about threads' wakeup frequency, r=erahm 2019-06-05 20:26:09 +00:00
nsThread.h Bug 1554292 - Add simple telemetry probe to gather information about threads' wakeup frequency, r=erahm 2019-06-05 20:26:09 +00:00
nsThreadManager.cpp Bug 1552958 - De-templatize PrioritizedEventQueue, r=froydnj 2019-05-21 18:20:34 +00:00
nsThreadManager.h Bug 1518038 - Add nsIThread.hasPendingHighPriorityEvents, r=froydnj 2019-01-10 19:07:34 +02:00
nsThreadPool.cpp Bug 1535361 - Let stream transport service idle with 5 threads instead of only one to not create/kill threads in quick bursts; add option to thread pool to shorten the idle timeout progressively with number of idle thread to save memory, r=dragana 2019-03-19 14:35:12 +00:00
nsThreadPool.h Bug 1535361 - Let stream transport service idle with 5 threads instead of only one to not create/kill threads in quick bursts; add option to thread pool to shorten the idle timeout progressively with number of idle thread to save memory, r=dragana 2019-03-19 14:35:12 +00:00
nsThreadSyncDispatch.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsThreadUtils.cpp Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
nsThreadUtils.h Bug 1464032 Part 12: Add CanvasParent, CanvasChild and RecordedTextureData. r=mattwoodrow, jld 2018-12-02 14:19:11 +00:00
nsTimerImpl.cpp Bug 1545120: Simplify this callback management stuff a little. r=froydnj 2019-04-18 14:53:18 +00:00
nsTimerImpl.h Bug 1545120: Simplify this callback management stuff a little. r=froydnj 2019-04-18 14:53:18 +00:00