def getReportItems(self, orderByCost=True):
        self.scores.append(Score(tag='finish', stamp=time.clock()))
        total_time = self._stampDelta(-1, 0)
        data = []
        for i in range(1, len(self.scores)):
            delta = self._stampDelta(i, i - 1)
            if abs(total_time) < 1e-6:
                perc = 0
            else:
                perc = delta / total_time * 100
            data.append(
                dict(
                    start=self._stampDelta(i - 1, 0) * 1000,
                    end=self._stampDelta(i, 0) * 1000,
                    delta=delta * 1000,
                    perc=perc,
                    tag=self.scores[i].tag
                )
            )
        if orderByCost:
            data.sort(key=lambda x: x['perc'], reverse=True)
        return data
Returns a list of dicts. Each dict has
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/timecollect.py/TimeCollector.getReportItems