Skip to content

Commit fe59bdc

Browse files
Added a Nanoseconds type to encore runtimes measured in nanoseconds.
Change: 137085889
1 parent 4d02d28 commit fe59bdc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tensorflow/core/graph/types.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ namespace tensorflow {
2424
// We model running time in microseconds.
2525
TF_LIB_GTL_DEFINE_INT_TYPE(Microseconds, int64);
2626

27+
// We can also model running time in nanoseconds for more accuracy.
28+
TF_LIB_GTL_DEFINE_INT_TYPE(Nanoseconds, int64);
29+
2730
// We model size in bytes.
2831
TF_LIB_GTL_DEFINE_INT_TYPE(Bytes, int64);
2932

0 commit comments

Comments
 (0)