def mark(self, value=<NUM_LIT:1>):
last = self.last.get_and_set(value)<EOL>if last <= value:<EOL><INDENT>value = value - last<EOL><DEDENT>super(Derive, self).mark(value)<EOL>
Record an event with the derive.

        :param value: counter value to record