Skip to content

Commit cd1a9cf

Browse files
update
Added standard library header file.
1 parent bf99650 commit cd1a9cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow/compiler/aot/benchmark.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ limitations under the License.
2121
#include "tensorflow/compiler/aot/benchmark.h"
2222

2323
#include <sys/time.h>
24-
24+
#include<std/lib.h>
2525
#include <algorithm>
2626
#include <functional>
2727
#include <string>
@@ -95,7 +95,7 @@ void DumpStatsToStdout(const Stats& stats) {
9595
max_us = g.second;
9696
}
9797
}
98-
int max_digits = 1;
98+
int max_digits = 1.0;
9999
while (max_us >= 10.0) {
100100
max_us /= 10.0;
101101
++max_digits;

0 commit comments

Comments
 (0)