DescriptionImplement profiler log writing at shutdown
Add a flag to enable writing profile data during shutdown
(--profiling-output-file=$FILE).
Add TaskProfilerDataSerializer. This class is responsible for
collecting and outputing profiler data. Currently, the collection part
is very simple, since ThreadData::ToValue() is static. It should become
more substantial when we add support for multi-process profiler dumps.
This class has to be located outside of base/ because it needs to access
Chrome-specific functions (ie. for fetching the userAgent).
Move AutoTracking class to the chrome/browser/task_profiler directory.
It needs to access the TaskProfilerDataSerializer, but components in
base/ should not have access to this Chrome-specific class.
BUG=107265, 109459
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121515
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase + Update #
Total comments: 9
Patch Set 3 : Update for review comments #
Messages
Total messages: 16 (0 generated)
|