Expand description
APIs for memory profiling.
Structs§
- The results produced by the memory reporter.
- A set of reports belonging to a process.
- Front-end representation of the profiler used to communicate with the profiler.
- A handle that encompasses a registration with the memory profiler. The registration is tied to the lifetime of this type; the memory profiler unregister the reporter when this object is dropped.
- A single memory-related measurement.
- A memory reporter is capable of measuring some data structure of interest. It’s structured as an IPC sender that a
ReporterRequest
in transmitted over.ReporterRequest
objects in turn encapsulate the channel on which the memory profiling information is to be sent. - The protocol used to send reporter requests.
- A channel through which memory reports can be sent.
Enums§
- Messages that can be sent to the memory profiler thread.
- The various kinds of memory measurement.
Constants§
Traits§
- A trait to abstract away the various kinds of message senders we use.
Functions§
- Invoke the provided function after initializing the memory profile tools. The function is expected to call all the desired [MallocSizeOf::size_of] for allocations reachable from the current thread.