diff options
author | 2017-08-31 13:28:41 +0200 | |
---|---|---|
committer | 2017-08-31 18:25:28 +0200 | |
commit | e9e35aa49ad41974430d46e52836e255e77d6a50 (patch) | |
tree | dc24a8b388b3cc4a54042c58ec6d4535d6247f83 /src/main/java/com/google/devtools/build/lib/runtime | |
parent | 930f7036a71d5d66cc643cdcffc7d92da664cf42 (diff) |
Split the cycle between vfs and profiler.
- Move ProfilerInfo into a subpackage (it's not necessary for profiling, just for analyzing a profile).
- Make some fields in Profiler public for ProfileInfo.
- Mark Profiler as ThreadSafe; there's no cyclic dependency here.
This is based on ulfjack's microbazel patch series: https://github.com/ulfjack/bazel/commit/44553fcac0fc876784d8f48c2e577d8c999712de
PiperOrigin-RevId: 167121952
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java index 4956c3b97a..56b76bf5d5 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java @@ -18,11 +18,11 @@ import com.google.common.base.Optional; import com.google.common.collect.Iterables; import com.google.devtools.build.lib.events.Event; import com.google.devtools.build.lib.events.EventHandler; -import com.google.devtools.build.lib.profiler.ProfileInfo; -import com.google.devtools.build.lib.profiler.ProfileInfo.InfoListener; -import com.google.devtools.build.lib.profiler.ProfileInfo.Task; import com.google.devtools.build.lib.profiler.ProfilePhase; import com.google.devtools.build.lib.profiler.ProfilerTask; +import com.google.devtools.build.lib.profiler.analysis.ProfileInfo; +import com.google.devtools.build.lib.profiler.analysis.ProfileInfo.InfoListener; +import com.google.devtools.build.lib.profiler.analysis.ProfileInfo.Task; import com.google.devtools.build.lib.profiler.output.HtmlCreator; import com.google.devtools.build.lib.profiler.output.PhaseText; import com.google.devtools.build.lib.profiler.statistics.CriticalPathStatistics; |