servo/components/net_traits
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
..
image Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
tests Use specific negative assertion for unit tests of net trait pub_domain 2018-01-26 01:55:39 +08:00
blob_url_store.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
Cargo.toml Measure cache memory usage (#19251): 2018-04-01 13:30:57 -04:00
filemanager_thread.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
image_cache.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
lib.rs Measure cache memory usage (#19251): 2018-04-01 13:30:57 -04:00
net_error_list.rs Move net_error_list from net to net_traits. Fixes #7050. 2015-08-06 16:37:08 -05:00
pub_domains.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
request.rs Merge functionality of WebsocketConnect into Fetch 2017-10-24 20:54:19 -07:00
response.rs Measure cache memory usage (#19251): 2018-04-01 13:30:57 -04:00
storage_thread.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00