comparison TaskManager/kernel/ppe/TaskLog.h @ 1468:840dee241530 draft

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 15 Jul 2012 17:42:10 +0900
parents fc5b23108608 9b0908cb7553
children 4443d59a8210
comparison
equal deleted inserted replaced
1467:d585a7614cd5 1468:840dee241530
1 #ifndef INCLUDED_TASKLOG 1 #ifndef INCLUDED_TASKLOG
2 #define INCLUDED_TASKLOG 2 #define INCLUDED_TASKLOG
3 3
4 #include "HTask.h"
5 #include "QueueInfo.h" 4 #include "QueueInfo.h"
6 5
7 struct waitTask { 6 struct waitTask {
8 int task_id; 7 int task_id;
9 int cmd; 8 int cmd;
32 31
33 /* constructor */ 32 /* constructor */
34 TaskLog() { 33 TaskLog() {
35 mtask_id = task_id; 34 mtask_id = task_id;
36 task_id++; 35 task_id++;
36 create_time = 0;
37 execute_time = 0;
38 finish_time = 0;
37 } 39 }
40
41 void set_cmd(int _cmd) {
42 cmd = _cmd;
43 }
44
38 45
39 private: 46 private:
40 // Unique id 47 // Unique id
41 48
42 }; 49 };