gecko-dev/tools/profiler/gecko
Gerald Squelart b13eeec2e9 Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum
PowerOfTwo makes for a cleaner and more expressive interface, showing that the
profiler will use a power-of-2 storage size.

Using PowerOfTwoMask in ProfilerBuffer also makes it more obvious that we want
cheap modulo operations.
And we don't need to keep the original capacity, as it's only used once and can
easily be recomputed from the mask.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:12:57 +00:00
..
ChildProfilerController.cpp
PProfiler.ipdl Bug 1543632 - Part 2: Add ClearAllPages function to idl and implement it for pre-test cleanup r=mstange 2019-04-30 09:58:14 +00:00
ProfilerChild.cpp Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum 2019-06-28 07:12:57 +00:00
ProfilerIOInterposeObserver.cpp
ProfilerIOInterposeObserver.h
ProfilerParent.cpp Bug 1540731 - Part 2: Move toplevel actors to override ActorDestroy, r=froydnj 2019-05-21 17:04:21 +00:00
ProfilerTypes.ipdlh
ThreadResponsiveness.cpp
ThreadResponsiveness.h
components.conf
nsIProfiler.idl Bug 1551992 - Compress profile data before sending to perf-html; r=mstange,julienw 2019-06-25 09:54:49 +00:00
nsProfiler.cpp Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum 2019-06-28 07:12:57 +00:00
nsProfiler.h Bug 1520104 - Using Vector instead of nsTArray - r=mstange 2019-04-29 11:41:52 +00:00
nsProfilerCIID.h
nsProfilerStartParams.cpp Bug 1520104 - Using Vector instead of nsTArray - r=mstange 2019-04-29 11:41:52 +00:00
nsProfilerStartParams.h Bug 1520104 - Using Vector instead of nsTArray - r=mstange 2019-04-29 11:41:52 +00:00