Instrument memory usage in net/spdy |
||
Issue descriptionThe general idea is to have a "size_t EstimateMemoryUsage() const" method for every non-trivial class in net/spdy. 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.
,
Jul 17 2017
Fixed in ec84e4ea604deb4d6cca4b72ce6f97babf99878b |
||
►
Sign in to add a comment |
||
Comment 1 by xunji...@chromium.org
, Feb 2 2017