diff Renderer/Engine/show_time.cc @ 507:735f76483bb2

Reorganization..
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 09:39:35 +0900
parents
children 4e44147d78ee
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Renderer/Engine/show_time.cc	Mon Oct 12 09:39:35 2009 +0900
@@ -0,0 +1,32 @@
+#include <stdio.h>
+#include "TaskManager.h"
+#include "Func.h"
+
+void
+show_time()
+{
+    /*
+    HTaskPtr show;
+    HTaskPtr pre_show;
+    */
+    /*
+    show = manager->create_task(SHOW_TIME);
+    show->set_cpu(SPE_0);
+    show->spawn();
+    printf("testですよ\n");
+    */
+
+    /*
+    pre_show = manager->create_task(SHOW_TIME);
+    pre_show->set_cpu((CPU_TYPE)((int)SPE_0));    
+    pre_show->spawn();
+
+    for (int i = 1; i < 6; i++) {        
+	show = manager->create_task(SHOW_TIME);
+	show->set_cpu((CPU_TYPE)((int)SPE_0 + i));
+	show->wait_for(pre_show);
+	show->spawn();
+	pre_show = show;
+    }
+    */
+}