Searched refs:cnt (Results 1 - 19 of 19) sorted by relevance

/gem5/src/systemc/tests/systemc/misc/user_guide/chpt3.2/
H A Dmain.cpp52 counter cnt("COUNTER", clk, found);
/gem5/ext/libelf/
H A Dlibelf_xlate.c48 size_t cnt, dsz, fsz, msz; local
98 cnt = src->d_size / fsz;
99 dsz = cnt * msz;
101 cnt = src->d_size / msz;
102 dsz = cnt * fsz;
138 src->d_buf, cnt, encoding != LIBELF_PRIVATE(byteorder)); local
/gem5/util/
H A Drundiff247 # Look for differences of $cnt lines to resync,
248 # increasing $cnt from 1 to $lookahead_lines until we find
250 for (my $cnt = 1; $cnt < $lookahead_lines-1; ++$cnt) {
253 return if checkmatch($cnt, $cnt);
255 # replaced by m lines in the other. We let m = $cnt
256 # and iterate for n = 0 to $cnt-1.
257 for (my $n = 0; $n < $cnt;
[all...]
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt3.1/
H A Dmain.cpp52 counter cnt("COUNTER", clk, found);
/gem5/src/sim/
H A Dlinear_solver.hh73 LinearEquation & operator*= (const double cnt) { argument
75 c *= cnt;
101 unsigned cnt() const { return eq.size() - 1; }
H A Dlinear_solver.cc78 ret[row] = -smatrix[row][smatrix[row].cnt()] / smatrix[row][row];
79 // Propagate variable in the cnt term
81 smatrix[i][smatrix[i].cnt()] += ret[row] * smatrix[i][row];
/gem5/src/sim/power/
H A Dthermal_model.cc121 eq[eq.cnt()] += -node1->temp / _resistance;
126 eq[eq.cnt()] += node2->temp / _resistance;
174 eq[eq.cnt()] += _capacitance / step * (node1->temp - node2->temp);
177 eq[eq.cnt()] += _capacitance / step * (-node1->temp);
182 eq[eq.cnt()] += _capacitance / step * (node2->temp);
H A Dthermal_domain.cc118 eq[eq.cnt()] = power;
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test01/
H A Dtest01.cpp140 int round_robin(const char *str, sc_event& receive, sc_event& send, int cnt) argument
142 while (--cnt >= 0)
/gem5/src/systemc/tests/systemc/misc/gnats/pr-503/
H A Dpr-503.cpp105 sc_int<12> cnt; local
145 cnt = 0;
1735 cnt = dtemp.range(11,0);
1739 if((cnt) <= 1) {
1746 if(cnt > (dtemp_1)) {
1749 cnt = cnt - (dtemp_1);
1751 index = cnt.range(7,1);
1753 cnt = cnt
[all...]
/gem5/src/systemc/tests/systemc/misc/gnats/pr-503-neg/
H A Dpr-503-neg.cpp105 sc_int<12> cnt; local
145 cnt = 0;
1735 cnt = dtemp.range(11,0);
1739 if((cnt) <= 1) {
1746 if(cnt > (dtemp_1)) {
1749 cnt = cnt - (dtemp_1);
1751 index = cnt.range(7,1);
1753 cnt = cnt
[all...]
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/sc_spawn_options/test01/
H A Dtest01.cpp123 int round_robin(const char *str, sc_event& receive, sc_event& send, int cnt) argument
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test04/
H A Dtest04.cpp102 int round_robin(const char *str, sc_event& receive, sc_event& send, int cnt) argument
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_string.cpp383 int cnt = sc_vsnprintf(buffer, 1024, format, argptr); local
384 if(cnt>1023) // string too long
394 cnt = sc_vsnprintf(buf, buf_size, format, argptr);
396 while( buf_size<max_size && cnt>=buf_size);
397 if(cnt>=buf_size)
/gem5/src/gpu-compute/
H A Dhsail_code.hh60 int cnt = 0; local
64 ++cnt;
68 return cnt;
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test02/
H A Dtest02.cpp131 void round_robin(const char *str, sc_event& receive, sc_event& send, int cnt) argument
/gem5/src/arch/generic/
H A Dvec_reg.hh191 VecRegT(Container& cnt) : container(cnt) {}; argument
/gem5/src/arch/hsail/insts/
H A Ddecl.hh658 int cnt = 0; local
662 ++cnt;
665 return cnt;
/gem5/src/mem/
H A Ddram_ctrl.cc429 for (int cnt = 0; cnt < pktCount; ++cnt) {
527 for (int cnt = 0; cnt < pktCount; ++cnt) {

Completed in 42 milliseconds