Last change
on this file since 79 was
78,
checked in by rosiere, 16 years ago
|
Add :
- Execute_loop (must be test systemC)
- Prediction
- Direction : predifined scheme
- Branch Target Buffer
- iFetch_unit
- ifetch_queue
- pc management
- Decod_unit
- coming soon : support for custom operation
- Rename_unit
- RAT
- Free_list
- Dependence RAW check
- Load store unit pointer
- New Environnement (hierarchy_memory will remove in a next version)
Modif :
- Manage Custom Operation
- All component in execute_loop to use the new statistics management
Not Finish :
- Return Address Stack
- Environnement
|
File size:
479 bytes
|
Line | |
---|
1 | #include "Common/include/Debug.h" |
---|
2 | |
---|
3 | static uint32_t _debug_depth = 0; |
---|
4 | |
---|
5 | |
---|
6 | std::string debug_tab (void) |
---|
7 | { |
---|
8 | return std::string(_debug_depth,'\t'); |
---|
9 | } |
---|
10 | |
---|
11 | void debug_function_begin (std::string component, std::string function) |
---|
12 | { |
---|
13 | _debug_depth ++; |
---|
14 | |
---|
15 | log_printf(FUNC,true,function.c_str(),"%sBegin",debug_tab().c_str()); |
---|
16 | } |
---|
17 | |
---|
18 | void debug_function_end (std::string component, std::string function) |
---|
19 | { |
---|
20 | log_printf(FUNC,true,function.c_str(),"%sEnd",debug_tab().c_str()); |
---|
21 | |
---|
22 | _debug_depth --; |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.