def METHOD_NAME(self, labelColor, supervisor, time):
    """
    Update the labels displaying the metric.
    labelColor: integer value containing the color of the labels.
    supervisor: a reference to the supervisor instance to use.
    time: seconds elapsed since the beginning of the benchmark.
    """
    performance = 0
    # For each segment, add the performance to the total, and displays
    # corresponding label.
    for i in range(0, 4):
        performance = performance + self.segments[i].getPerformance()
        labelStr = "Segment %d: %.3f" % (i,
                                         self.segments[i].getPerformance())
        supervisor.setLabel(i, labelStr, 0.01, 0.05 + 0.02 * i,
                            0.05, labelColor, 0,
                            "Lucida Console")
    # Computes average.
    performance = performance / 4
    # Displays remaining labels.
    supervisor.setLabel(4, "Elapsed time: %.3f" % time, 0.01,
                        0.01, 0.05, labelColor, 0,
                        "Lucida Console")
    supervisor.setLabel(5, "Current performance: %f" % performance,
                        0.01, 0.15, 0.05, labelColor, 0,
                        "Lucida Console")