MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / add_usage

Method add_usage

Compiler/program.py:1087–1096  ·  view source on GitHub ↗
(self, req_node)

Source from the content-addressed store, hash-verified

1085 self.purged = True
1086
1087 def add_usage(self, req_node):
1088 if self.purged:
1089 instructions = self.usage_instructions
1090 else:
1091 instructions = self.instructions
1092 for inst in instructions:
1093 inst.add_usage(req_node)
1094 req_node.num["all", "round"] += self.n_rounds
1095 req_node.num["all", "inv"] += self.n_to_merge
1096 req_node.num += self.rounds
1097
1098 def expand_cisc(self):
1099 if self.parent.program.options.keep_cisc is not None:

Callers 2

relevantMethod · 0.45
aggregateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected