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

Method _alloc_pid

tensorflow/python/client/timeline.py:410–414  ·  view source on GitHub ↗

Allocate a process Id.

(self)

Source from the content-addressed store, hash-verified

408 self._allocator_maximums = {} # allocator name => maximum bytes long
409
410 def _alloc_pid(self):
411 """Allocate a process Id."""
412 pid = self._next_pid
413 self._next_pid += 1
414 return pid
415
416 def _alloc_flow_id(self):
417 """Allocate a flow Id."""

Callers 1

_allocate_pidsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected