Mercurial > hg > Members > kono > Cerium
changeset 1025:cb170249c752
minor fix
author | yutaka@localhost.localdomain |
---|---|
date | Mon, 08 Nov 2010 14:40:53 +0900 |
parents | 19a57960c436 |
children | 11dee6cf7116 |
files | Renderer/Engine/spe/Makefile TaskManager/Cell/spe/CellDmaManager.cc TaskManager/kernel/schedule/SchedMail.cc |
diffstat | 3 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/spe/Makefile Mon Nov 08 14:02:23 2010 +0900 +++ b/Renderer/Engine/spe/Makefile Mon Nov 08 14:40:53 2010 +0900 @@ -5,7 +5,7 @@ TOP = ../$(CERIUM) SRCS_TMP = $(wildcard *.cc) -#SRCS_EXCLUDE = CreatePolygon.cc +SRCS_EXCLUDE = CreatePolygonFromSceneGraph.cc #CreatePolygon.cc SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) OBJS = $(SRCS:.cc=.o)
--- a/TaskManager/Cell/spe/CellDmaManager.cc Mon Nov 08 14:02:23 2010 +0900 +++ b/TaskManager/Cell/spe/CellDmaManager.cc Mon Nov 08 14:40:53 2010 +0900 @@ -251,16 +251,21 @@ global_busy_time+global_wait_time+global_mail_time ))*100.0; + double t = ((double)task_list_mail_time)/((double)( + global_busy_time+global_wait_time+global_mail_time + ))*100.0; + + s->printf("spu%d: busy_time = %lld" " wait_time = %lld(%.3g%%), " " mail_time = %lld(%.3g%%), " - " task_list_mail_time = %lld, " + " task_list_mail_time = %lld(%.3g%%), " " busy_ratio = %.3g%%, " " array_load_time = %lld, " " mainMem_alloc_time = %lld\n" ,cpu, global_busy_time, global_wait_time, d, global_mail_time, m, - task_list_mail_time, r, + task_list_mail_time, t, r, task_array_load_time, mainMemalloc_time);
--- a/TaskManager/kernel/schedule/SchedMail.cc Mon Nov 08 14:02:23 2010 +0900 +++ b/TaskManager/kernel/schedule/SchedMail.cc Mon Nov 08 14:40:53 2010 +0900 @@ -7,7 +7,6 @@ SchedMail::next(Scheduler *scheduler, SchedTaskBase *p) { - //params_addr = scheduler->mail_read(); params_addr = scheduler->task_list_mail_read(); __debug("[SchedMail:%s]\n", __FUNCTION__);