changeset 1720:a07d4773012d draft

minor fix
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Oct 2013 19:19:41 +0900
parents d911bef11c8a
children 797e3ec1ca74 d6f18ee58e0e
files TaskManager/Gpu/GpuScheduler.cc TaskManager/kernel/sys_task/StartProfile.cc
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Gpu/GpuScheduler.cc	Tue Oct 22 19:15:00 2013 +0900
+++ b/TaskManager/Gpu/GpuScheduler.cc	Tue Oct 22 19:19:41 2013 +0900
@@ -298,7 +298,7 @@
         //clFlush(command_queue); // waiting for queued task
         //clFinish(command_queue); // waiting for queued task
         unsigned long long wait = 0;
-        (*connector->end_dmawait_profile)(wait, &(connector->start_time), &(connector->stop_time));
+        (*connector->end_dmawait_profile)(&wait, &(connector->start_time), &(connector->stop_time));
         connector->mail_write((memaddr)MY_SPE_STATUS_READY);
     }
     // TaskArrayの処理
--- a/TaskManager/kernel/sys_task/StartProfile.cc	Tue Oct 22 19:15:00 2013 +0900
+++ b/TaskManager/kernel/sys_task/StartProfile.cc	Tue Oct 22 19:19:41 2013 +0900
@@ -8,7 +8,6 @@
 run(SchedTask *smanager, void *rbuf, void *wbuf)
 {
     smanager->start_profile();
-
     return 0;
 }