aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/grappler/costs/cost_estimator.h
diff options
context:
space:
mode:
authorGravatar Vinu Rajashekhar <vinuraja@google.com>2017-03-15 23:24:41 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-16 00:49:09 -0700
commit1ce242420ecb64b196f29d510f51e795c92696ca (patch)
treeca46b71b5e52f90b39efcf7e60bc7a221e9552bc /tensorflow/core/grappler/costs/cost_estimator.h
parent91d502ad1f752838371c0f5059c1b2dce5f6e074 (diff)
- Makes SingleMachine::Run(...) thread-safe.
Change: 150289918
Diffstat (limited to 'tensorflow/core/grappler/costs/cost_estimator.h')
-rw-r--r--tensorflow/core/grappler/costs/cost_estimator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/core/grappler/costs/cost_estimator.h b/tensorflow/core/grappler/costs/cost_estimator.h
index 3c65c34f8d..093b7e29dc 100644
--- a/tensorflow/core/grappler/costs/cost_estimator.h
+++ b/tensorflow/core/grappler/costs/cost_estimator.h
@@ -68,7 +68,10 @@ struct Costs {
typedef NanoSeconds Duration;
// Overall cost of running the graph; latency.
+ // Mean
Duration execution_time;
+ Duration min_execution_time;
+ Duration max_execution_time;
// Computation cost of running the graph.
Duration compute_time;