def set_state(self, newState, timer=0):
        if _debug: ServerSSM._debug("set_state %r (%s) timer=%r", newState, SSM.transactionLabels[newState], timer)

        # pass the change down
        SSM.set_state(self, newState, timer)

        # completed or aborted, remove tracking
        if (newState == COMPLETED) or (newState == ABORTED):
            self.ssmSAP.serverTransactions.remove(self)
Return an int giving .api_mcycles() converted to milliseconds.
dataset/ETHPy150Open JoelBender/bacpypes/py25/bacpypes/appservice.py/ServerSSM.set_state--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/appstats/recording.py/StatsProto.api_milliseconds