Name Description Size Coverage
ChildProfilerController.h 1728 100 %
ChromeProfilerCounter.h This is the backing object for the ProfilerCounter that ChromeUtils.addProfilerCounter() returns, and it is created and used from JS. Ownership is intentionally shared. The wrapping mozilla::dom::ProfilerCounter holds a reference and drops it when JS is done. The profiler holds its own reference for as long as this counter is registered, because the profile buffer keeps raw pointers to this counter in the samples it has already recorded. This object is refcounted so that it outlives both the garbage collection of the wrapper and the recording session, which prevents a use-after-free when the buffer is serialized. 2581 75 %
ETWTools.h 17328 14 %
FlowMarkers.h 12445 89 %
GeckoProfiler.h 16177 96 %
GeckoProfilerReporter.h 628 100 %
GeckoTraceEvent.h 37986 97 %
MicroGeckoProfiler.h NOLINT because we want to stick to C here 9115 71 %
ProfileAdditionalInformation.h 5015 100 %
ProfileBufferEntrySerializationGeckoExtensions.h 5531 100 %
ProfileJSONWriter.h 787 -
ProfilerBandwidthCounter.h 2600 17 %
ProfilerBindings.h FFI functions for Profiler Rust API to call into profiler 7584 -
ProfilerChild.h 4136 67 %
ProfilerCodeAddressService.h Cache and look up function symbol names. We don't template this on AllocPolicy since we need to use nsTArray in SymbolTable above, which doesn't work with AllocPolicy. (We can't switch to Vector, as we would lose FFI compatibility with ThinVec.) 1661 0 %
ProfilerControl.h 8362 100 %
ProfilerCounts.h 12778 100 %
ProfilerDumpOrCrash.h 1919 -
ProfilerLabels.h 15361 100 %
ProfilerMarkers.h 27821 94 %
ProfilerMarkersDetail.h 864 -
ProfilerMarkersPrerequisites.h 965 -
ProfilerMarkerTypes.h 1758 -
ProfilerNativeStack.h 682 -
ProfilerParent.h 4533 50 %
ProfilerRunnable.h 3959 100 %
ProfilerRustBindings.h 430 -
ProfilerStackWalk.h 1180 -
ProfilerState.h 21693 83 %
ProfilerThreadPlatformData.h Return the number of nanoseconds of CPU time used since thread start. @return true on success. 2298 100 %
ProfilerThreadRegistration.h 12840 99 %
ProfilerThreadRegistrationData.h 23730 98 %
ProfilerThreadRegistrationInfo.h 2344 100 %
ProfilerThreadRegistry.h 11582 100 %
ProfilerThreadSleep.h 1363 100 %
ProfilerThreadState.h 4325 100 %
ProfilerUtils.h 1197 -