Lines Matching refs:script
7 """Used to generate a bash script which will invoke the toy and time it"""
180 """ Generate a random Kaleidoscope script based on the given parameters """
185 script = KScriptGenerator(filename)
186 script.setCallWeighting(callWeighting)
187 script.writeComment("===========================================================================")
188 script.writeComment("Auto-generated script")
189 script.writeComment(" %d functions, %d elements per function, %d functions between execution"
191 script.writeComment(" call weighting = %f" % callWeighting)
192 script.writeComment("===========================================================================")
193 script.writeEmptyLine()
194 script.writePredefinedFunctions()
197 script.writeFunction(elementsPerFunc)
200 script.writeFunctionCall()
204 script.writeFunctionCall()
205 script.writeEmptyLine()
206 script.writeFinalFunctionCounts()
207 funcsCalled = len(script.calledFunctions)
208 print " Called %d of %d functions, %d total" % (funcsCalled, numFuncs, script.totalCallsExecuted)
209 timingScript.writeTimingCall(filename, numFuncs, funcsCalled, script.totalCallsExecuted)