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 Bug 1523969 part 24 - Move method definition inline comments to new line in 'tools/'. r=mstange 2019-02-25 16:13:15 -06:00
components.conf Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm 2019-01-29 16:03:41 -08:00
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 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
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
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 Bug 1529386 - Rename DiskIO marker payloads to FileIO in profiler; r=canaltinova 2019-02-21 15:32:07 +00:00
ProfilerIOInterposeObserver.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ProfilerParent.cpp Bug 1540731 - Part 2: Move toplevel actors to override ActorDestroy, r=froydnj 2019-05-21 17:04:21 +00:00
ProfilerTypes.ipdlh Bug 1539254 - replace MaybeDuration in IPDL with native Maybe syntax; r=mstange 2019-03-26 20:23:07 +00:00
ThreadResponsiveness.cpp Bug 1520103 - Fixed non-unified Profiler build - r=mstange 2019-02-07 17:35:37 +00:00
ThreadResponsiveness.h Bug 1520103 - Fixed non-unified Profiler build - r=mstange 2019-02-07 17:35:37 +00:00