<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def end(self):
 """Mark the time at which this workunit ended."""

    self.end_time = time.time()

    return self.path(), self.duration(), self._self_time(), self.has_label(WorkUnitLabel.TOOL)