Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 0741abc

Browse files
jzhoulonyisitu
andauthored
Update rfcs/20210513-pluggable-profiler-for-tensorflow.md
Co-authored-by: Situ Yi <[email protected]>
1 parent 1a48047 commit 0741abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfcs/20210513-pluggable-profiler-for-tensorflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Core TensorFlow will register a new ProfilerInterface with [ProfilerFactory](htt
7676

7777
#### Protobuf class
7878
Profiler uses `XSpace` to store the performance data collected by backends. With this type of data structure, TensorFlow's profiler tools can generate various views of performance, such as timeline, memory consumption, performance of every TensorFlow op and set of summaries. `XSpace` is C++ object generated by protobuf toolchain with a predefined structure in [xplane.proto](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/profiler/protobuf/xplane.proto#L9).
79-
On the plugin side, plugin will collect performance data with its own profiler infrastructures. When TensorFlow invokes `CollectData()`, the plugin transforms the performance data to `XSpace` and then serializes `XSpace` to the buffer provided by TensorFlow. To successfully serialize the object, plugin writers should keep a copy of `xspace.proto`, and make it exactly the same as that in the TensorFlow side.
79+
On the plugin side, plugin will collect performance data with its own profiler infrastructures. When TensorFlow invokes `CollectData()`, the plugin transforms the performance data to `XSpace` and then serializes `XSpace` to the buffer provided by TensorFlow. To successfully serialize the object, plugin writers should keep a copy of `xspace.proto`, and make it exactly the same as that on the TensorFlow side.
8080

8181
### Detailed API
8282
The C API will be placed in `tensorflow/c/experimental/profiler/profiler.h`.

0 commit comments

Comments
 (0)