summaryrefslogtreecommitdiffstats
path: root/base/tracked_objects.cc
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 18:26:02 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 18:26:02 +0000
commitca18636760856e3b0cbe91af6f7b535a6f9a544a (patch)
tree80f658f9dddebc773bd3b32648012f6317e21b18 /base/tracked_objects.cc
parent5b97eb8ede7fedd3be4d5667c10493182a7df4b0 (diff)
downloadchromium_src-ca18636760856e3b0cbe91af6f7b535a6f9a544a.zip
chromium_src-ca18636760856e3b0cbe91af6f7b535a6f9a544a.tar.gz
chromium_src-ca18636760856e3b0cbe91af6f7b535a6f9a544a.tar.bz2
Restore visibilty of Task Tracking via about:tracking
This used to be about:tasks. That was taken over by the task manager, and merged in several files as though there was no distinction. The new URL is about:tracking. BUG=99121 r=msw Review URL: http://codereview.chromium.org/8133016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tracked_objects.cc')
-rw-r--r--base/tracked_objects.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
index 21ac0fc..5df017b 100644
--- a/base/tracked_objects.cc
+++ b/base/tracked_objects.cc
@@ -164,7 +164,7 @@ void ThreadData::WriteHTML(const std::string& query, std::string* output) {
output->append("</pre>");
const char* help_string = "The following are the keywords that can be used to"
- "sort and aggregate the data, or to select data.<br><ul>"
+ " sort and aggregate the data, or to select data.<br><ul>"
"<li><b>count</b> Number of instances seen."
"<li><b>duration</b> Duration in ms from construction to descrution."
"<li><b>birth</b> Thread on which the task was constructed."
@@ -174,19 +174,19 @@ void ThreadData::WriteHTML(const std::string& query, std::string* output) {
"<li><b>line</b> Line number of the file in which the task was constructed."
"</ul><br>"
"As examples:<ul>"
- "<li><b>about:tasks/file</b> would sort the above data by file, and"
+ "<li><b>about:tracking/file</b> would sort the above data by file, and"
" aggregate data on a per-file basis."
- "<li><b>about:tasks/file=Dns</b> would only list data for tasks constructed"
- " in a file containing the text |Dns|."
- "<li><b>about:tasks/birth/death</b> would sort the above list by birth"
+ "<li><b>about:tracking/file=Dns</b> would only list data for tasks"
+ " constructed in a file containing the text |Dns|."
+ "<li><b>about:tracking/birth/death</b> would sort the above list by birth"
" thread, and then by death thread, and would aggregate data for each pair"
" of lifetime events."
"</ul>"
" The data can be reset to zero (discarding all births, deaths, etc.) using"
- " <b>about:tasks/reset</b>. The existing stats will be displayed, but the"
- " internal stats will be set to zero, and start accumulating afresh. This"
- " option is very helpful if you only wish to consider tasks created after"
- " some point in time.<br><br>"
+ " <b>about:tracking/reset</b>. The existing stats will be displayed, but"
+ " the internal stats will be set to zero, and start accumulating afresh."
+ " This option is very helpful if you only wish to consider tasks created"
+ " after some point in time.<br><br>"
"If you wish to monitor Renderer events, be sure to run in --single-process"
" mode.";
output->append(help_string);
@@ -443,7 +443,7 @@ void ThreadData::RunOnAllThreads(void (*function)()) {
// static
bool ThreadData::StartTracking(bool status) {
-#ifndef TRACK_ALL_TASK_OBJECTS
+#if !defined(TRACK_ALL_TASK_OBJECTS)
return false; // Not compiled in.
#endif