def finish(self):
self.report(fraction=<NUM_LIT:1.0>)<EOL>key = self.stack_key<EOL>if key is not None:<EOL><INDENT>if self.data.get(key) is None:<EOL><INDENT>self.data[key] = []<EOL><DEDENT>start_time = self.current_times.get(key) or time()<EOL>self.data[key].append(Dict(runtime=time()-start_time, **self.params))<EOL><DEDENT>
record the current stack process as finished