diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-10-08 18:12:42 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-08 18:17:09 -0700 |
commit | d58712b7fc8de0e1f87fe2ea5221bc3c85230ed3 (patch) | |
tree | 4d95318f68ad442d772cce65033468dadaa295ad /tensorflow/compiler/xla/service/buffer_value.h | |
parent | 934fde5b8c60987db36438ab4f70f8a91bce306b (diff) |
Add a tracing::ScopedActivity event to track the duration of a Session::Run()
call for better xprof tracing. Also annotate synchronous op execution with the session-run id (or step_id) as metadata leveraging the support introduced in cl/215985561.
This should enable highlighting the duration of a Session::Run and all the ops that ran in it for visualizing latency regressions in the case of CPU inference.
PiperOrigin-RevId: 216284682
Diffstat (limited to 'tensorflow/compiler/xla/service/buffer_value.h')
0 files changed, 0 insertions, 0 deletions