aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/profiler/ProfilerTask.java
diff options
context:
space:
mode:
authorGravatar twerth <twerth@google.com>2018-08-14 07:53:40 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-08-14 07:55:28 -0700
commitd12db5975687a87b6d36543747234200d0cdc3b5 (patch)
treeab6500d9a06422d6fdbfe2cf6831ebf6a48531d0 /src/main/java/com/google/devtools/build/lib/profiler/ProfilerTask.java
parenta05e6ccdba85f5e827245aa581accd2867e40851 (diff)
Add experimental option to do add local cpu usage values to the JSON profile.
RELNOTES: None PiperOrigin-RevId: 208646319
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/profiler/ProfilerTask.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/profiler/ProfilerTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/profiler/ProfilerTask.java b/src/main/java/com/google/devtools/build/lib/profiler/ProfilerTask.java
index 0d244f400c..93e06ec8c7 100644
--- a/src/main/java/com/google/devtools/build/lib/profiler/ProfilerTask.java
+++ b/src/main/java/com/google/devtools/build/lib/profiler/ProfilerTask.java
@@ -76,7 +76,7 @@ public enum ProfilerTask {
CRITICAL_PATH("critical path", 0x666699),
CRITICAL_PATH_COMPONENT("critical path component", 0x666699),
HANDLE_GC_NOTIFICATION("gc notification", 0x996633),
- __INCLUSION_LOOKUP("inclusion lookup", 0x000000), // unused
+ LOCAL_CPU_USAGE("cpu counters", 0x000000),
__INCLUSION_PARSE("inclusion parse", 0x000000), // unused
__PROCESS_SCAN("process scan", 0x000000), // unused
__LOOP_OUTPUT_ARTIFACTS("loop output artifacts"), // unused