Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ GetStats
Method
GetStats
tensorflow/core/common_runtime/bfc_allocator.cc:944–947 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
942
}
943
944
absl::optional<AllocatorStats> BFCAllocator::GetStats() {
945
mutex_lock l(lock_);
946
return stats_;
947
}
948
949
void BFCAllocator::ClearStats() {
950
mutex_lock l(lock_);
Callers
2
AddAllocation
Method · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36