Lines Matching refs:numFuncs
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))
223 generateKScript(filename, numFuncs, elementsPerFunc, funcsBetweenExec, callWeighting, timingScript)