Module profile_traits::mem

source ·
Expand description

APIs for memory profiling.


  • Front-end representation of the profiler used to communicate with the profiler.
  • 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.


  • Messages that can be sent to the memory profiler thread.
  • The various kinds of memory measurement.


  • A trait to abstract away the various kinds of message senders we use.