OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numFuncs
(Results
1 - 3
of
3
) sorted by null
/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
...]
Completed in 153 milliseconds