MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / getFileName

Method getFileName

tools/CrossStackProfiler/CspFileReader.py:283–284  ·  view source on GitHub ↗
(self, name, groupId, gpuId, tmpPath="./tmp")

Source from the content-addressed store, hash-verified

281 return self.getFileName("dcgm", groupId, gpuId, tmpPath)
282
283 def getFileName(self, name, groupId, gpuId, tmpPath="./tmp"):
284 return os.path.join(tmpPath, f"{name}_{groupId}_{gpuId}.json")
285
286 def getOpInfoDict(self, groupId, gpuId, tmpPath="./tmp"):
287 return self.getDict("opinfo", groupId, gpuId, tmpPath)

Callers 5

getOpInfoFileNameMethod · 0.95
getDCGMInfoFileNameMethod · 0.95
getDictMethod · 0.95
dumpDictMethod · 0.95

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected