Select Git revision
boinc_api.h
-
Eric J. Korpela authored
want to grant approximately fixed credits, but don't want to express them in terms of FPOPS and IOPS. This API just calls boinc_ops_cumulative(N*8.64000e+11,0). CPU intensive projects that use this API should still use the tools/calculate_credit_multiplier script in order to adjust their credit claims as processing times vary. svn path=/trunk/boinc/; revision=17743
Eric J. Korpela authoredwant to grant approximately fixed credits, but don't want to express them in terms of FPOPS and IOPS. This API just calls boinc_ops_cumulative(N*8.64000e+11,0). CPU intensive projects that use this API should still use the tools/calculate_credit_multiplier script in order to adjust their credit claims as processing times vary. svn path=/trunk/boinc/; revision=17743
test_dump.py 582 B
import pykat
kat = pykat.finesse.kat()
kat.parseCommands("""
bs bs1 0.5 0.5 0 0 n1 dump n3 dump
""")
print "BEFORE"
print "".join(kat.generateKatScript())
kat.nodes.replaceNode(kat.bs1, kat.bs1.nodes[3], kat.nodes.createNode("test4"))
kat.nodes.replaceNode(kat.bs1, kat.bs1.nodes[1], kat.nodes.createNode("test2"))
kat.nodes.replaceNode(kat.bs1, "n1", kat.nodes.createNode("test1"))
kat.nodes.replaceNode(kat.bs1, "n3", kat.nodes.createNode("dump"))
kat.nodes.replaceNode(kat.bs1, "test1", kat.nodes.createNode("dump"))
print "AFTER"
print "".join(kat.generateKatScript())