Subversion Repositories freemyipod

Rev

Rev 352 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 352 Rev 353
Line 479... Line 479...
479
            self.logger.info("    Thread id: "+str(thread.id)+"\n")
479
            self.logger.info("    Thread id: "+str(thread.id)+"\n")
480
            self.logger.info("    Thread type: "+thread.type+"\n")
480
            self.logger.info("    Thread type: "+thread.type+"\n")
481
            self.logger.info("    Thread state: "+thread.state+"\n")
481
            self.logger.info("    Thread state: "+thread.state+"\n")
482
            self.logger.info("    Block type: "+thread.block_type+"\n")
482
            self.logger.info("    Block type: "+thread.block_type+"\n")
483
            self.logger.info("    Blocked by: "+self._hex(thread.blocked_by_ptr)+"\n")
483
            self.logger.info("    Blocked by: "+self._hex(thread.blocked_by_ptr)+"\n")
484
            self.logger.info("    Priority: "+str(thread.priority)+"/256\n")
484
            self.logger.info("    Priority: "+str(thread.priority)+"/255\n")
485
            self.logger.info("    Current CPU load: "+str((thread.cpuload*100)/255)+"%\n")
485
            self.logger.info("    Current CPU load: "+str((thread.cpuload*100)/255)+"%\n")
486
            self.logger.info("    CPU time (total): "+str(datetime.timedelta(microseconds=thread.cputime_total))+"\n")
486
            self.logger.info("    CPU time (total): "+str(datetime.timedelta(microseconds=thread.cputime_total))+"\n")
487
            self.logger.info("    Stack address: "+self._hex(thread.stackaddr)+"\n")
487
            self.logger.info("    Stack address: "+self._hex(thread.stackaddr)+"\n")
488
            self.logger.info("    Registers:\n")
488
            self.logger.info("    Registers:\n")
489
            for registerrange in range(4):
489
            for registerrange in range(4):