servo/components/malloc_size_of
modal-d17 af445a357d Measure cache memory usage (#19251):
Made the memory cache data structure derive MallocSizeOf, along with
manual size_of() implementations in malloc_size_of.

Added a Measurable struct that acts as a container for fields size_of() can be called for.

Added a new IpcReceiver used for listening to messages from the memory profiler,
and used run_with_memory reporting to register a memory reporter in the thread.
Now when a message from the memory profiler arrives, report includes sizes of public and private http caches.

Updated test file.
2018-04-01 13:30:57 -04:00
..
Cargo.toml Measure cache memory usage (#19251): 2018-04-01 13:30:57 -04:00
lib.rs Measure cache memory usage (#19251): 2018-04-01 13:30:57 -04:00
LICENSE-APACHE Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
LICENSE-MIT Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00