File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -691,6 +691,7 @@ cc_library(
691691 deps = tf_windows_aware_platform_deps ("platform_port" ) + [
692692 ":platform" ,
693693 "@com_google_absl//absl/base:core_headers" ,
694+ "@com_google_absl//absl/time" ,
694695 "@xla//xla/tsl/platform:byte_order" ,
695696 "@xla//xla/tsl/platform:dynamic_annotations" ,
696697 "@xla//xla/tsl/platform:types" ,
Original file line number Diff line number Diff line change @@ -16,11 +16,14 @@ limitations under the License.
1616#ifndef TENSORFLOW_TSL_PLATFORM_INIT_MAIN_H_
1717#define TENSORFLOW_TSL_PLATFORM_INIT_MAIN_H_
1818
19+ #include " absl/time/time.h"
1920namespace tsl {
2021namespace port {
2122
2223void InitMain (const char * usage, int * argc, char *** argv);
2324
25+ absl::Duration GetInitUptime ();
26+
2427} // namespace port
2528} // namespace tsl
2629
You can’t perform that action at this time.
0 commit comments