Last change
on this file was
117,
checked in by rosiere, 15 years ago
|
1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme
|
-
Property svn:keywords set to
Id
|
File size:
591 bytes
|
Line | |
---|
1 | #include "../include/Environment.h" |
---|
2 | |
---|
3 | namespace environment { |
---|
4 | |
---|
5 | void Environment::stop(uint32_t num_context) |
---|
6 | { |
---|
7 | |
---|
8 | cout("<stop> : num_context : %d\n",num_context); |
---|
9 | cout("<stop> : context_stop : %d\n",context_stop [num_context]); |
---|
10 | cout("<stop> : nb_context_stop : %d\n",nb_context_stop); |
---|
11 | |
---|
12 | |
---|
13 | if (context_stop [num_context] == false) |
---|
14 | { |
---|
15 | context_stop [num_context] = true; |
---|
16 | nb_context_stop ++; |
---|
17 | |
---|
18 | if (nb_context_stop >= param->nb_thread) |
---|
19 | { |
---|
20 | cout("<stop> : end simulation\n"); |
---|
21 | sc_stop(); |
---|
22 | } |
---|
23 | } |
---|
24 | } |
---|
25 | |
---|
26 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.