<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reset(self, label=None):
 """ clears all measurements, allowing the object to be reused Args: label (str, optional) : optionally change the label Example: """

        if label:
            self.label = label
        self.times = []
        self.n_loops = None
        self.total_time = None
        return self