Instrument memory usage in net/quic |
||
Issue descriptionThe general idea is to have a "size_t EstimateMemoryUsage() const" method for every non-trivial class in net/quic. The member method should return the size of dynamically allocated memory in bytes (see more info in base/trace_event/memory_usage_estimator.h) Then the memory usage can be hooked up in net/'s MemoryDumpProvider (see URLRequestContext::OnMemoryDump() or HttpNetworkSession::DumpMemoryStats()). An example to do this can be found in b4199f82689fd146d52d8352f4d07bd79d6cfbd6.
,
Mar 12 2018
Archived due to lack of activity |
||
►
Sign in to add a comment |
||
Comment 1 by xunji...@chromium.org
, Feb 2 2017