code: def get_ops(self, ops):
          '''Return timings for dictionary ops holding the operation names as
          keys and the number of applications as values.'''
          time = 0.
          for op, count in ops.items():
              time += self.get(op) * count
          return timf get_ops(self, ops):
          '''Return timings for dictionary ops holding the operation names as
          keys and the number of applications as values.'''
          time = 0.
          for op, count in ops.items():
              time += self.get(op) * count
          return time
docs: Return timings for dictionary ops holding the operation names as
          keys and the number of applications as values.