aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/profiler
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-01-26 05:14:47 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-26 05:19:04 -0800
commitc8c2e4932afccb594bfe05e22facea1aba9dd454 (patch)
tree5a78a1dd985c32c4924fc68cb2e48f5b639eb598 /tensorflow/core/profiler
parent7578785dff668c63ba6b5423a6bf2a5984c7b409 (diff)
Remove dead code
PiperOrigin-RevId: 183374040
Diffstat (limited to 'tensorflow/core/profiler')
-rw-r--r--tensorflow/core/profiler/internal/tfprof_timeline.h1
-rw-r--r--tensorflow/core/profiler/internal/tfprof_utils.cc3
2 files changed, 0 insertions, 4 deletions
diff --git a/tensorflow/core/profiler/internal/tfprof_timeline.h b/tensorflow/core/profiler/internal/tfprof_timeline.h
index 4428ab571f..651ad3f0c1 100644
--- a/tensorflow/core/profiler/internal/tfprof_timeline.h
+++ b/tensorflow/core/profiler/internal/tfprof_timeline.h
@@ -178,7 +178,6 @@ class Timeline {
int64 step_;
const string outfile_;
int64 next_pid_ = 0;
- int64 allocator_pid_ = -1;
MemoryTracker mem_tracker_;
ChromeTraceFormatter chrome_formatter_;
std::map<string, int64> device_pids_;
diff --git a/tensorflow/core/profiler/internal/tfprof_utils.cc b/tensorflow/core/profiler/internal/tfprof_utils.cc
index 2813bb46fa..7712ebd926 100644
--- a/tensorflow/core/profiler/internal/tfprof_utils.cc
+++ b/tensorflow/core/profiler/internal/tfprof_utils.cc
@@ -355,9 +355,6 @@ static const char* const kOpTypes =
static const char* const kScope =
"scope: The nodes in the model graph are organized by their names, which "
"is hierarchical like filesystem.";
-static const char* const kGraph =
- "graph: The nodes in the model graph are organized by their operation "
- "input and output.";
static const char* const kCode =
"code: When python trace is available, the nodes are python lines and "
"their are organized by the python call stack.";