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