Searched refs:sc_time_stamp (Results 51 - 75 of 314) sorted by relevance

1234567891011>>

/gem5/src/systemc/tests/systemc/1666-2011-compliance/odds_and_ends/
H A Dodds_and_ends.cpp84 cout << "suspend at " << sc_time_stamp() << endl;
87 cout << "resume at " << sc_time_stamp() << endl;
91 cout << "disable at " << sc_time_stamp() << endl;
94 cout << "enable at " << sc_time_stamp() << endl;
115 cout << "T2 at " << sc_time_stamp() << endl;
122 sc_assert( sc_time_stamp() == sc_time(10, SC_NS) || sc_time_stamp() == sc_time(20, SC_NS) );
129 sc_assert( sc_time_stamp() == sc_time(10, SC_NS) || sc_time_stamp() == sc_time(20, SC_NS) );
143 cout << "reset_handler() called at " << sc_time_stamp() << end
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl_timeout/
H A Dproc_ctrl_timeout.cpp89 //cout << "Exception caught at " << sc_time_stamp() << endl;
98 //cout << "Exception caught at " << sc_time_stamp() << endl;
105 wait(sc_time(100, SC_NS) - sc_time_stamp());
123 wait(sc_time(200, SC_NS) - sc_time_stamp());
141 wait(sc_time(300, SC_NS) - sc_time_stamp());
161 wait(sc_time(400, SC_NS) - sc_time_stamp());
196 //cout << "Exception caught at " << sc_time_stamp() << endl;
199 wait(sc_time(500, SC_NS) - sc_time_stamp());
214 //cout << "target1() called at " << sc_time_stamp() << " count = " << count << endl;
217 case 0: sc_assert( sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test07/
H A Dtest07.cpp62 cout << sc_time_stamp() << " callback" << endl;
74 cout << sc_time_stamp() << " setting m_a " << endl;
77 cout << sc_time_stamp() << " setting m_b " << endl;
80 cout << sc_time_stamp() << " setting m_c " << endl;
/gem5/src/systemc/tests/systemc/kernel/process_control/throw_it/test1/
H A Dtest1.cpp26 cerr << sc_time_stamp() << ": starting victim thread" << endl;
30 cerr << sc_time_stamp() << ": in victim thread, caught exception "
38 cerr << sc_time_stamp()
42 cerr << sc_time_stamp()
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/increment/
H A Ddisplay.cpp49 << " at " << sc_time_stamp() << endl;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/case/inlining/
H A Ddisplay.cpp50 << " at " << sc_time_stamp() << endl;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/inlining/
H A Ddisplay.cpp50 << " at " << sc_time_stamp() << endl;
/gem5/src/systemc/tests/systemc/misc/unit/methodology/sim_control/sim_to_infinity/
H A Dmain.cpp59 cout << sc_time_stamp() << " : STOPPING SIM - start button" << endl;
/gem5/src/systemc/tests/systemc/misc/unit/methodology/sim_control/sim_to_time/
H A Dmain.cpp59 cout << sc_time_stamp() << " : STOPPING SIM - start button" << endl;
/gem5/src/systemc/tests/systemc/1666-2011-compliance/stepwise_simulation/
H A Dstepwise_simulation.cpp63 << "' triggered at " << sc_time_stamp()
87 sc_time start = sc_time_stamp();
92 sc_assert( start == sc_time_stamp() );
95 sc_assert( start + step / 2 == sc_time_stamp() );
103 sc_assert( start + step == sc_time_stamp() );
107 << sc_time_stamp() << " - delta: " << sc_delta_count()
120 == sc_max_time() - sc_time_stamp() );
161 == sc_max_time() - sc_time_stamp() );
/gem5/src/systemc/tests/systemc/kernel/sc_stop/test03/
H A Dtest03.cpp54 cout << "able: " << sc_time_stamp() << endl;
58 cout << "baker: " << sc_time_stamp()
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl/
H A Dproc_ctrl.cpp41 using sc_core::sc_time_stamp;
200 case 0: sc_assert( sc_time_stamp() == sc_time(0, SC_NS) ); f1=1; break;
201 case 3: sc_assert( sc_time_stamp() == sc_time(35, SC_NS) ); f3=1; break;
202 case 4: sc_assert( sc_time_stamp() == sc_time(55, SC_NS) ); f4=1; break;
203 case 8: sc_assert( sc_time_stamp() == sc_time(95, SC_NS) ); f8=1; break;
204 case 12: sc_assert( sc_time_stamp() == sc_time(135, SC_NS) ); f11=1; break;
205 case 14: sc_assert( sc_time_stamp() == sc_time(155, SC_NS) ); f12=1; break;
216 case 1: sc_assert( sc_time_stamp() == sc_time(10, SC_NS) ); f2=1; break;
217 case 5: sc_assert( sc_time_stamp() == sc_time(75, SC_NS) ); f5=1; break;
218 case 6: sc_assert( sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/compliance_1666/test205/
H A Dtest205.cpp13 sc_assert(sc_time_stamp() == sc_time(0, SC_NS));
15 sc_assert(sc_time_stamp() == sc_time(3, SC_NS));
23 sc_assert(sc_time_stamp() == sc_time(4, SC_NS));
25 sc_assert(sc_time_stamp() == sc_time(7, SC_NS));
43 sc_assert(sc_time_stamp() == sc_time(8, SC_NS));
45 sc_assert(sc_time_stamp() == sc_time(11, SC_NS));
/gem5/src/systemc/tests/systemc/kernel/process_control/test03/
H A Dtest03.cpp82 cout << sc_time_stamp() << ": cthread awakened" << endl;
95 cout << sc_time_stamp()
99 cout << sc_time_stamp() << " dynamic_method_and_events: awakened"
115 cout << sc_time_stamp()
119 cout << sc_time_stamp() << " dynamic_method_negedge: awakened"
135 cout << sc_time_stamp()
139 cout << sc_time_stamp() << " dynamic_method_posedge: awakened"
151 cout << sc_time_stamp()
156 cout << sc_time_stamp() << " dynamic_thread_and_events: awakened"
165 cout << sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/method_suspends_itself/
H A Dmethod_suspends_itself.cpp317 wait(sc_time(400, SC_NS) - sc_time_stamp());
338 //cout << "Target called at " << sc_time_stamp() << " count = " << count << endl;
341 case 1: sc_assert( sc_time_stamp() == sc_time(10, SC_NS) ); f0=1; break;
342 case 2: sc_assert( sc_time_stamp() == sc_time(20, SC_NS) ); f1=1; break;
343 case 4: sc_assert( sc_time_stamp() == sc_time(35, SC_NS) ); count = 5; f2=1; break;
344 case 5: sc_assert( sc_time_stamp() == sc_time(40, SC_NS) ); f3=1; break;
345 case 6: sc_assert( sc_time_stamp() == sc_time(50, SC_NS) ); f4=1; break;
346 case 7: sc_assert( sc_time_stamp() == sc_time(60, SC_NS) ); f5=1; break;
347 case 8: sc_assert( sc_time_stamp() == sc_time(70, SC_NS) ); f6=1; break;
348 case 10: sc_assert( sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/throw_it/
H A Dthrow_it.cpp112 wait(sc_time(200, SC_NS) - sc_time_stamp());
131 wait(sc_time(300, SC_NS) - sc_time_stamp());
148 wait(sc_time(400, SC_NS) - sc_time_stamp());
154 wait(sc_time(400, SC_NS) - sc_time_stamp());
166 wait(sc_time(500, SC_NS) - sc_time_stamp());
175 wait(sc_time(600, SC_NS) - sc_time_stamp());
209 wait(sc_time(700, SC_NS) - sc_time_stamp());
221 case 0: sc_assert( sc_time_stamp() == sc_time( 0, SC_NS) ); f2=1; break;
222 case 12: sc_assert( sc_time_stamp() == sc_time(405, SC_NS) ); f13=1; break;
223 case 17: sc_assert( sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sync_reset/
H A Dsync_reset.cpp226 wait(sc_time(300, SC_NS) - sc_time_stamp());
241 wait(sc_time(405, SC_NS) - sc_time_stamp());
259 //cout << "Target1 called/reset at " << sc_time_stamp() << " count = " << count << endl;
262 case 1: sc_assert( sc_time_stamp() == sc_time(0, SC_NS) ); f0=1; break;
263 case 2: sc_assert( sc_time_stamp() == sc_time(20, SC_NS) ); f1=1; break;
264 case 3: sc_assert( sc_time_stamp() == sc_time(30, SC_NS) ); f2=1; break;
265 case 7: sc_assert( sc_time_stamp() == sc_time(70, SC_NS) ); f3=1; break;
266 case 15: sc_assert( sc_time_stamp() == sc_time(140, SC_NS) ); f4=1; break;
267 case 18: sc_assert( sc_time_stamp() == sc_time(170, SC_NS) ); f5=1; break;
268 case 19: sc_assert( sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl_priority/
H A Dproc_ctrl_priority.cpp110 wait(sc_time(100, SC_NS) - sc_time_stamp());
130 wait(sc_time(200, SC_NS) - sc_time_stamp());
182 wait(sc_time(300, SC_NS) - sc_time_stamp());
221 wait(sc_time(400, SC_NS) - sc_time_stamp());
238 wait(sc_time(500, SC_NS) - sc_time_stamp());
294 wait(sc_time(700, SC_NS) - sc_time_stamp());
303 case 0: sc_assert( sc_time_stamp() == sc_time(0, SC_NS) ); f1=1; break;
304 case 6: sc_assert( sc_time_stamp() == sc_time(50, SC_NS) ); f5=1; break;
305 case 9: sc_assert( sc_time_stamp() == sc_time(110, SC_NS) ); f7=1; break;
306 case 10: sc_assert( sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/kernel/process_control/test06/
H A Dtest06.cpp24 if (sc_time_stamp() == SC_ZERO_TIME || spawn_only )
47 << "(" << sc_time_stamp() << " @ " << sc_delta_count() << ")"
61 << "(" << sc_time_stamp() << " @ " << sc_delta_count() << ")"
72 << "(" << sc_time_stamp() << " @ " << sc_delta_count() << ")"
77 << "(" << sc_time_stamp() << " @ " << sc_delta_count() << ")"
102 << "(" << sc_time_stamp() << " @ " << sc_delta_count() << ")"
112 << "(" << sc_time_stamp() << " @ " << sc_delta_count() << ")"
/gem5/src/systemc/tests/systemc/1666-2011-compliance/async_reset_port/
H A Dasync_reset_port.cpp95 if (count == 2) { sc_assert(sc_time_stamp() == sc_time( 15, SC_NS)); f1 = 1; }
97 if (count == 18) { sc_assert(sc_time_stamp() == sc_time(135, SC_NS)); f16 = 1; }
98 if (count == 19) { sc_assert(sc_time_stamp() == sc_time(145, SC_NS)); f25 = 1; }
102 if (count == 16) { sc_assert(sc_time_stamp() == sc_time(125, SC_NS)); f10 = 1; }
103 if (count == 20) { sc_assert(sc_time_stamp() == sc_time(155, SC_NS)); f31 = 1; }
109 if (count == 4) { sc_assert(sc_time_stamp() == sc_time( 35, SC_NS)); f2 = 1; }
111 if (count == 18) { sc_assert(sc_time_stamp() == sc_time(135, SC_NS)); f17 = 1; }
112 if (count == 19) { sc_assert(sc_time_stamp() == sc_time(145, SC_NS)); f26 = 1; }
116 if (count == 16) { sc_assert(sc_time_stamp() == sc_time(125, SC_NS)); f11 = 1; }
117 if (count == 20) { sc_assert(sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/async_reset/
H A Dasync_reset.cpp132 wait(sc_time(20, SC_NS) - sc_time_stamp());
144 wait(sc_time(30, SC_NS) - sc_time_stamp());
168 wait(sc_time(40, SC_NS) - sc_time_stamp());
180 wait(sc_time(50, SC_NS) - sc_time_stamp());
203 wait(sc_time(60, SC_NS) - sc_time_stamp());
239 wait(sc_time(100, SC_NS) - sc_time_stamp());
342 //cout << "CT() called at " << sc_time_stamp() << endl;
346 case 4: sc_assert( sc_time_stamp() == sc_time(20, SC_NS) ); f2=1; break;
347 case 7: sc_assert( sc_time_stamp() == sc_time(30, SC_NS) ); f3=1; break;
348 case 8: sc_assert( sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/include_descendants/
H A Dinclude_descendants.cpp106 wait(sc_time(110, SC_NS) - sc_time_stamp());
110 wait(sc_time(210, SC_NS) - sc_time_stamp());
129 sc_assert( sc_time_stamp() == sc_time(10, SC_NS) );
132 sc_assert( sc_time_stamp() == sc_time(40, SC_NS) );
138 sc_assert( sc_time_stamp() == sc_time(60, SC_NS) );
149 sc_assert( sc_time_stamp() == sc_time(10, SC_NS) );
152 sc_assert( sc_time_stamp() == sc_time(40, SC_NS) );
158 sc_assert( sc_time_stamp() == sc_time(60, SC_NS) );
175 sc_assert( sc_time_stamp() == sc_time(110, SC_NS) );
186 case 9: sc_assert( sc_time_stamp()
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_delta_count/
H A Dsc_delta_count.cpp116 last_time = sc_time_stamp();
122 last_time = sc_time_stamp();
128 last_time = sc_time_stamp();
134 last_time = sc_time_stamp();
140 last_time = sc_time_stamp();
149 last_time = sc_time_stamp();
156 cout << "M() awoke at " << sc_time_stamp() << endl;
206 sc_assert( top.last_time == sc_time_stamp() );
211 // sc_assert( top.last_time == sc_time_stamp() );
216 sc_assert( top.last_time == sc_time_stamp() );
[all...]
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test02/
H A Dtest02.cpp51 cout << endl << sc_time_stamp() << ", "
59 cout << endl << sc_time_stamp() << ", "
63 cout << sc_time_stamp() << ", "
82 cout << endl << sc_time_stamp() << ": CTOR, Before spawning function_method " << endl;
97 cout << endl << sc_time_stamp() << ", "
120 cout << endl << sc_time_stamp() << ", "
126 cout << endl << sc_time_stamp() << ", "
133 cout << sc_time_stamp() << ", "
157 cout << endl << sc_time_stamp() << ": sc_main, Before spawning function_thread " << endl;
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/sc_join/test03/
H A Dtest03.cpp64 cout << sc_time_stamp() << " " << process_i << endl;
70 cout << sc_time_stamp() << " waiting for termination of "
73 cout << sc_time_stamp() << " back from termination wait " << endl;
79 cout << sc_time_stamp() << " " << i << endl;
81 cout << sc_time_stamp() << " " << i << endl;

Completed in 24 milliseconds

1234567891011>>