Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 623116061
  • Loading branch information
tensorflower-gardener committed Apr 9, 2024
1 parent 8d2267d commit 050de33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tensorflow/core/profiler/lib/profiler_disabled_test.cc
Expand Up @@ -24,7 +24,7 @@ namespace {

TEST(ProfilerDisabledTest, ProfilerDisabledTest) {
setenv("TF_DISABLE_PROFILING", "1", /*overwrite=*/1);
StatusOr<ProfilerLock> profiler_lock = ProfilerLock::Acquire();
StatusOr<ProfilerLock> profiler_lock = tsl::profiler::ProfilerLock::Acquire();
EXPECT_FALSE(profiler_lock.ok());
}

Expand Down
2 changes: 1 addition & 1 deletion tensorflow/core/profiler/lib/profiler_factory.h
Expand Up @@ -40,7 +40,7 @@ using ProfilerFactor ABSL_DEPRECATE_AND_INLINE() =

// Registers a profiler factory. Should be invoked at most once per factory.
ABSL_DEPRECATE_AND_INLINE()
inline void RegisterProfilerFactory(ProfilerFactor factory) {
inline void RegisterProfilerFactory(tsl::profiler::ProfilerFactory factory) {
tsl::profiler::RegisterProfilerFactory(std::move(factory));
}

Expand Down

0 comments on commit 050de33

Please sign in to comment.