[Linux-hls-cvs] hls/simul/include event.h,1.5,1.6 os.h,1.5,1.6
Status: Pre-Alpha
Brought to you by:
lucabe
|
From: <lu...@us...> - 2003-12-05 21:48:44
|
Update of /cvsroot/linux-hls/hls/simul/include
In directory sc8-pr-cvs1:/tmp/cvs-serv5866/simul/include
Modified Files:
event.h os.h
Log Message:
- Some simulator work
- Unbreak the PS scheduler (share was 0 by default)
- Add a filter to convert the simulator output in a .fig file
Index: event.h
===================================================================
RCS file: /cvsroot/linux-hls/hls/simul/include/event.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** event.h 29 Nov 2003 09:11:35 -0000 1.5
--- event.h 5 Dec 2003 21:48:40 -0000 1.6
***************
*** 44,48 ****
struct sim_event_res_event {
struct sim_task_struct *t;
! int BeginRes;
};
--- 44,56 ----
struct sim_event_res_event {
struct sim_task_struct *t;
! unsigned long long int amount;
! unsigned long long int period;
! int start;
! };
!
! struct sim_event_ps_event {
! struct sim_task_struct *t;
! int share;
! int warp;
};
***************
*** 55,58 ****
--- 63,67 ----
struct sim_event_thread_event event_thread;
struct sim_event_res_event res;
+ struct sim_event_ps_event ps;
} u;
};
Index: os.h
===================================================================
RCS file: /cvsroot/linux-hls/hls/simul/include/os.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** os.h 29 Nov 2003 09:11:35 -0000 1.5
--- os.h 5 Dec 2003 21:48:40 -0000 1.6
***************
*** 24,27 ****
--- 24,28 ----
void thread_set_priority(struct sim_task_struct *t, int new_priority);
int thread_reserve(struct sim_task_struct *t, long long int q, long long int p, int start, int soft);
+ int thread_move_to_ps(struct sim_task_struct *t, int share, int warp, int start);
void scheduler_set_default(char *mstr);
|