Changeset 138 for trunk/IPs/systemC/processor/Morpheo/Common/src
- Timestamp:
- May 12, 2010, 7:34:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Common/src/Debug.cpp
r110 r138 45 45 #ifdef DEBUG 46 46 // Take min 47 debug = (level < DEBUG)?level:DEBUG;47 debug = (level < DEBUG)?level:DEBUG; 48 48 49 49 # ifdef SYSTEMC 50 debug_cycle_test = (cycle_stop > cycle_start) or (cycle_stop == -1); 51 debug_cycle_start= cycle_start; 52 debug_cycle_stop = cycle_stop; 50 debug_cycle_test = (not (cycle_start == -1) and 51 ((cycle_stop > cycle_start) or 52 (cycle_stop == -1))); 53 debug_cycle_start = cycle_start; 54 debug_cycle_stop = cycle_stop; 53 55 # else 54 debug_cycle_test = false;56 debug_cycle_test = false; 55 57 # endif 58 # else 59 debug = DEBUG_NONE; 60 debug_cycle_test = false; 61 debug_cycle_start = 0; 62 debug_cycle_stop = 0; 56 63 #endif 57 debug_idle_cycle = idle_cycle; 58 debug_idle_time = idle_time ; 64 65 debug_idle_cycle = idle_cycle; 66 debug_idle_time = idle_time ; 67 68 msgInformation(_("Debug level : %s\n"),toString(debug).c_str()); 69 // msgDebug(_("Cycle test : %d\n"),debug_cycle_test); 70 // msgDebug(_("Cycle start : %f\n"),cycle_start); 71 // msgDebug(_("Cycle stop : %f\n"),cycle_stop); 59 72 60 73 debug_initialized = true;
Note: See TracChangeset
for help on using the changeset viewer.