MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ReportFree

Method ReportFree

tensorflow/compiler/xrt/xrt_state.cc:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 Stats ReportFree(int64 device, int64 msize) {
55 mutex_lock lock(lock_);
56 Stats* device_stats = &stats_[device];
57 device_stats->count -= 1;
58 device_stats->size -= msize;
59 return *device_stats;
60 }
61
62 private:
63 mutable mutex lock_;

Callers 1

~XRTBufferAllocationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected