|
Last change
on this file since 143 was
124,
checked in by rosiere, 16 years ago
|
|
1) Add test and configuration
2) Fix Bug
3) Add log file in load store unit
4) Fix Bug in environment
|
-
Property svn:keywords set to
Id
|
|
File size:
299 bytes
|
| Line | |
|---|
| 1 | // $Id: workload.h.sed 124 2009-06-17 12:11:25Z rosiere $ |
|---|
| 2 | |
|---|
| 3 | #ifndef workload_h |
|---|
| 4 | #define workload_h |
|---|
| 5 | |
|---|
| 6 | #include "benchmark.h" |
|---|
| 7 | |
|---|
| 8 | /* |
|---|
| 9 | * Array of function's pointer |
|---|
| 10 | */ |
|---|
| 11 | |
|---|
| 12 | void (*WorkLoad[])() = |
|---|
| 13 | { |
|---|
| 14 | @WORKLOAD |
|---|
| 15 | }; |
|---|
| 16 | |
|---|
| 17 | #define NB_WORKLOAD (sizeof(WorkLoad)/sizeof(void *)) |
|---|
| 18 | |
|---|
| 19 | # ifndef NB_THREAD_MAX |
|---|
| 20 | # error "NB_THREAD_MAX is undefined" |
|---|
| 21 | # endif |
|---|
| 22 | |
|---|
| 23 | #endif //workload_h |
|---|
Note: See
TracBrowser
for help on using the repository browser.