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

Commit 8580769

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

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
@@ -349,7 +349,7 @@ void profiler_stop(const TP_Profiler* profiler, TF_Status* status) {
349349

350350
void profiler_collect_data_xspace(const TP_Profiler* profiler, uint8_t* buffer, size_t* size_in_bytes, TF_Status* status) {
351351
Xspace xspace = get_my_xspace(); // Plugin generates Xspace based on collected profiler data.
352-
size_t buffer_size_in_bytes = * size_in_bytes;
352+
size_t buffer_size_in_bytes = *size_in_bytes;
353353
*size_in_bytes = xspace.ByteSizeLong(); // get the size of Xspace
354354
if (buffer == nullptr) {
355355
return; // TensorFlow will first get the size of Xspace, then allocate the big enough buffer and pass it to the plugin for retrieving Xspace.

0 commit comments

Comments
 (0)