DescriptionEnable memory profiler on Linux when TC_MALLOC is enabled.
Added a tc_malloc memory extension to get bytes allocated on
current thread (GetBytesAllocatedOnCurrentThread API call).
R=jam@chromium.org,jar@chromium.org
BUG=139667
TEST=test about:profiler after setting the env variable
CHROME_PROFILER_TIME=1. In about:profiler, it will
show the memory allocated per thread. This change
impacts linux only.
This is same as the following previously approved CL. Added
needed BASE_EXPORT for kAlternateProfilerTime and
SetAlternateTimeSource.
the https://chromiumcodereview.appspot.com/10820063/
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150477
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 7 (0 generated)
|