def _EncodeCompiledCursor(self, compiled_cursor):
    last_result = None
    if self.__results:
      last_result = self.__results[-1]
    elif self.__last_ent:
      last_result = entity_pb.EntityProto()
      last_result.ParseFromString(self.__last_ent)

    if last_result is not None:
      position = compiled_cursor.add_position()
      position.mutable_key().MergeFrom(last_result.key())
      for prop in last_result.property_list():
        if prop.name() in self.__order_property_names:
          indexvalue = position.add_indexvalue()
          indexvalue.set_property(prop.name())
          indexvalue.mutable_value().CopyFrom(prop.value())
      position.set_start_inclusive(False)
Time how long is spent retrieving rows from the wrapped container. Enables
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/datastore/appscale_stub_util.py/QueryCursor._EncodeCompiledCursor--crossover with--dataset/ETHPy150Open alimanfoo/petl/petl/util/timing.py/clock