/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
genk-timing.py | 13 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): 18 self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCalled, numFuncs, totalCalls, self.timeFile)) 174 def generateKScript(filename, numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting, timingScript): 178 (numFuncs, elementsPerFunc, funcsBetweenExec)) 185 % (numFuncs, elementsPerFunc, funcsBetweenExec)) 191 for i in range(numFuncs): 203 print " Called %d of %d functions, %d total" % (funcsCalled, numFuncs, script.totalCallsExecuted) 204 timingScript.writeTimingCall(filename, numFuncs, funcsCalled, script.totalCallsExecuted) 216 for (numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting) in dataSets: 217 filename = "test-%d-%d-%d-%d.k" % (numFuncs, elementsPerFunc, funcsBetweenExec, int(callWeighting * 100) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
genk-timing.py | 13 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): 18 self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCalled, numFuncs, totalCalls, self.timeFile)) 179 def generateKScript(filename, numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting, timingScript): 183 (numFuncs, elementsPerFunc, funcsBetweenExec)) 190 % (numFuncs, elementsPerFunc, funcsBetweenExec)) 196 for i in range(numFuncs): 208 print " Called %d of %d functions, %d total" % (funcsCalled, numFuncs, script.totalCallsExecuted) 209 timingScript.writeTimingCall(filename, numFuncs, funcsCalled, script.totalCallsExecuted) 221 for (numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting) in dataSets: 222 filename = "test-%d-%d-%d-%d.k" % (numFuncs, elementsPerFunc, funcsBetweenExec, int(callWeighting * 100) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
genk-timing.py | 13 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): 18 self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCalled, numFuncs, totalCalls, self.timeFile)) 174 def generateKScript(filename, numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting, timingScript): 178 (numFuncs, elementsPerFunc, funcsBetweenExec)) 185 % (numFuncs, elementsPerFunc, funcsBetweenExec)) 191 for i in range(numFuncs): 203 print " Called %d of %d functions, %d total" % (funcsCalled, numFuncs, script.totalCallsExecuted) 204 timingScript.writeTimingCall(filename, numFuncs, funcsCalled, script.totalCallsExecuted) 216 for (numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting) in dataSets: 217 filename = "test-%d-%d-%d-%d.k" % (numFuncs, elementsPerFunc, funcsBetweenExec, int(callWeighting * 100) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/cached/ |
genk-timing.py | 13 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): 18 self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCalled, numFuncs, totalCalls, self.timeFile)) 174 def generateKScript(filename, numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting, timingScript): 178 (numFuncs, elementsPerFunc, funcsBetweenExec)) 185 % (numFuncs, elementsPerFunc, funcsBetweenExec)) 191 for i in range(numFuncs): 203 print " Called %d of %d functions, %d total" % (funcsCalled, numFuncs, script.totalCallsExecuted) 204 timingScript.writeTimingCall(filename, numFuncs, funcsCalled, script.totalCallsExecuted) 216 for (numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting) in dataSets: 217 filename = "test-%d-%d-%d-%d.k" % (numFuncs, elementsPerFunc, funcsBetweenExec, int(callWeighting * 100) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/complete/ |
genk-timing.py | 13 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): 18 self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCalled, numFuncs, totalCalls, self.timeFile)) 179 def generateKScript(filename, numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting, timingScript): 183 (numFuncs, elementsPerFunc, funcsBetweenExec)) 190 % (numFuncs, elementsPerFunc, funcsBetweenExec)) 196 for i in range(numFuncs): 208 print " Called %d of %d functions, %d total" % (funcsCalled, numFuncs, script.totalCallsExecuted) 209 timingScript.writeTimingCall(filename, numFuncs, funcsCalled, script.totalCallsExecuted) 221 for (numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting) in dataSets: 222 filename = "test-%d-%d-%d-%d.k" % (numFuncs, elementsPerFunc, funcsBetweenExec, int(callWeighting * 100) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
genk-timing.py | 13 def writeTimingCall(self, filename, numFuncs, funcsCalled, totalCalls): 18 self.shfile.write("echo \"%s: Calls %d of %d functions, %d total\" >> %s\n" % (filename, funcsCalled, numFuncs, totalCalls, self.timeFile)) 174 def generateKScript(filename, numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting, timingScript): 178 (numFuncs, elementsPerFunc, funcsBetweenExec)) 185 % (numFuncs, elementsPerFunc, funcsBetweenExec)) 191 for i in range(numFuncs): 203 print " Called %d of %d functions, %d total" % (funcsCalled, numFuncs, script.totalCallsExecuted) 204 timingScript.writeTimingCall(filename, numFuncs, funcsCalled, script.totalCallsExecuted) 216 for (numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting) in dataSets: 217 filename = "test-%d-%d-%d-%d.k" % (numFuncs, elementsPerFunc, funcsBetweenExec, int(callWeighting * 100) [all...] |