Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: base/debug/task_annotator.cc

Issue 962273002: Experimental: Chrome side of killing the blink timer heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor tweaks Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/debug/task_annotator.cc
diff --git a/base/debug/task_annotator.cc b/base/debug/task_annotator.cc
index 3591fd6c80fc19016b4ed195233222fbc9c70808..3199c906d8bda9598e67a252d962e6fd2ada24ea 100644
--- a/base/debug/task_annotator.cc
+++ b/base/debug/task_annotator.cc
@@ -44,12 +44,9 @@ void TaskAnnotator::RunTask(const char* queue_function,
// memory allocations to the source function than generically to the task
// runner.
TRACE_EVENT_WITH_MEMORY_TAG2(
- "toplevel",
- run_function,
+ "toplevel", pending_task.posted_from.function_name(),
Sami 2015/02/27 18:22:33 Wanna pull this out to a separate patch? We may wa
pending_task.posted_from.function_name(), // Name for memory tracking.
- "src_file",
- pending_task.posted_from.file_name(),
- "src_func",
+ "src_file", pending_task.posted_from.file_name(), "src_func",
pending_task.posted_from.function_name());
// Before running the task, store the program counter where it was posted
« no previous file with comments | « no previous file | content/renderer/scheduler/task_queue_manager.cc » ('j') | content/renderer/scheduler/task_queue_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698