def new_subrecord(self, name):
        """Create a new MetricsSubRecord object with our category and save it to the subrecords
        list."""
        subrecord = MetricsSubRecord(self.category, name)
        self.subrecords.append(subrecord)