Mercurial > hg > Game > Cerium
changeset 1023:ac802e3bf2a1 draft
comment remove
author | yutaka@localhost.localdomain |
---|---|
date | Sun, 07 Nov 2010 22:18:41 +0900 |
parents | 85d9bd85572d |
children | cf0ad93028e9 |
files | TaskManager/Cell/spe/CellDmaManager.cc |
diffstat | 1 files changed, 0 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Cell/spe/CellDmaManager.cc Sun Nov 07 22:11:04 2010 +0900 +++ b/TaskManager/Cell/spe/CellDmaManager.cc Sun Nov 07 22:18:41 2010 +0900 @@ -89,18 +89,9 @@ { (this->*start_dmawait_profile)(); if (0 != spu_readchcnt(SPU_WrOutMbox)) { - //if (mail_queue->empty()) { if (mail_queue->count()) { spu_write_out_mbox((uint32)data); } else { - /* - MailQueuePtr mail = mail_queue->poll(); - spu_write_out_mbox((uint32)mail->data); - mail_queue->free_(mail); - mail = mail_queue->create(); - mail->data = data; - mail_queue->addLast(mail); - */ //mail_queue から poll する spu_write_out_mbox((uint32)mail_queue->recv()); @@ -109,11 +100,6 @@ } } else { - /* - MailQueuePtr mail = mail_queue->create(); - mail->data = data; - mail_queue->addLast(mail); - */ mail_queue->send(data); @@ -127,20 +113,13 @@ (this->*start_dmawait_profile)(); - //while (!mail_queue->empty()) { while (mail_queue->count()) { - /* - MailQueuePtr mail = mail_queue->poll(); - spu_write_out_mbox((uint32)mail->data); - mail_queue->free_(mail); - */ spu_write_out_mbox((uint32)mail_queue->recv()); } spu_write_out_mbox((uint32)data); - //mail_queue.freePool(); (this->*end_dmawait_profile)(&global_mail_time); }