Searched refs:temp (Results 1 - 25 of 65) sorted by relevance

123

/gem5/src/sim/power/
H A Dthermal_node.cc49 : SimObject(p), id(-1), isref(false), temp(0.0f)
H A Dthermal_node.hh59 double temp; member in class:ThermalNode
H A Dpower_model.hh80 * @param temp Current temperature of the HW part (Celsius)
82 virtual void setTemperature(double temp) { _temp = temp; } argument
157 void thermalUpdateCallback(const double & temp);
168 void notify(const double &temp) argument
170 pm.thermalUpdateCallback(temp);
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);
238 eq_nodes[i]->temp = temps[i];
254 ref->node->temp = ref->_temperature;
259 dom->getNode()->temp = dom->initialTemperature();
300 double temp local
[all...]
H A Dthermal_domain.cc62 return node->temp;
82 .name(params()->name + ".temp")
90 ppThermalUpdate->notify(node->temp);
H A Dpower_model.cc78 PowerModel::thermalUpdateCallback(const double & temp) argument
81 pms->setTemperature(temp);
/gem5/ext/googletest/googletest/samples/
H A Dsample2.cc53 const char* const temp = MyString::CloneCString(a_c_string); local
55 c_string_ = temp;
/gem5/src/systemc/tests/systemc/misc/synth/inlining/test6/
H A Dtest.cpp51 int i,j,h, temp; local
61 temp = 4+j;
62 modify (o1, temp);
/gem5/src/base/
H A Dcirclebuf.hh179 std::vector<T> temp(param.size());
180 param.peek(temp.begin(), temp.size());
181 arrayParamOut(cp, name, temp);
189 std::vector<T> temp; local
190 arrayParamIn(cp, name, temp);
193 param.write(temp.cbegin(), temp.size());
201 std::vector<T> temp(param.size());
202 param.peek(temp
211 std::vector<T> temp; local
[all...]
H A Dsat_counter.hh91 SatCounter temp(other);
92 this->swap(temp);
103 SatCounter temp(0);
104 other.swap(temp);
113 SatCounter temp(0);
114 other.swap(temp);
/gem5/ext/mcpat/cacti/
H A Darbiter.cc59 double temp = ((R - 1) * (2 * gate_C(NTn1, 0) + gate_C(PTn1, 0)) + 2 * local
64 return temp;
70 double temp = 2 * (2 * gate_C(NTn1, 0) + gate_C(PTn1, 0)); local
71 return temp;
77 double temp = drain_C_(NTn1, 0, 1, 1, g_tp.cell_h_def) * 2 + local
79 return temp;
84 double temp = (drain_C_(NTn1, 0, 1, 1, g_tp.cell_h_def) * 2 + local
87 return temp;
117 double temp = (wc.wire_cap(length, true)); local
118 return temp;
123 double temp = (Cw3(o_len * 1e-6 /* m */) + local
131 double temp = gate_C(NTtr, 0) + gate_C(PTtr, 0); local
[all...]
H A Duca.cc179 double temp; local
182 temp = delay_inside_mat + bank.mat.delay_wl_reset + bank.mat.delay_bl_restore;//TODO: Sheng: revisit
184 temp += bank.mat.delay_writeback; // temp stores random cycle time
188 temp = MAX(temp, bank.mat.r_predec->delay);
189 temp = MAX(temp, bank.mat.b_mux_predec->delay);
190 temp = MAX(temp, ban
[all...]
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_string.hh116 char *temp = new char[m_alloc]; local
119 temp[j] = m_buffer[j];
121 temp[m_len] = 0;
124 m_buffer = temp;
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_string.h120 char* temp = new char[m_alloc]; local
123 temp[j] = m_buffer[j];
125 temp[m_len] = 0;
128 m_buffer = temp;
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_string.h162 sc_string_old temp(*this);
165 index = temp.pos("%");
168 temp = substr(index,last_char);
169 } while(temp[0] != '%');
170 int f_len = (int)temp.fmt_length(); // length of format field
171 temp = to_string(substr(0,index+f_len-1).c_str(),t);
172 return (*this) = temp + substr(index+f_len,last_char);
H A Dsc_string.cpp530 sc_string_old temp(*this);
533 char c = temp.rep->str[i];
535 temp.rep->str[i] = static_cast<char>( c-32 );
537 return temp;
544 sc_string_old temp(*this);
547 char c = temp.rep->str[i];
549 temp.rep->str[i] = static_cast<char>( c+32 );
551 return temp;
/gem5/src/arch/mips/
H A Ddsp.cc359 int64_t temp; local
366 temp =
369 temp = (int64_t)(a_values[i] * b_values[i]) >> (sa - 1);
375 temp = FIXED_SMAX[fmt];
378 a_values[i] = temp;
500 int64_t temp = 0; local
536 temp = dspac + result;
538 if (signa == signb && bits(temp, 63, 63) != signa) {
545 dspac = temp;
567 int64_t temp local
690 int64_t temp = 0; local
748 int64_t temp[2] = {0, 0}; local
1046 int64_t temp = 0; local
[all...]
/gem5/src/gpu-compute/
H A Dbrig_object.cc225 char *temp; local
229 temp = new char[str.size() + 1];
230 std::copy(str.begin(), str.end() , temp);
231 temp[str.size()] = '\0';
233 temp = new char[str.size()];
234 std::copy(str.begin(), str.end() - 1 , temp);
235 temp[str.size() - 1 ] = '\0';
238 std::string kernel_name = temp;
239 delete[] temp;
/gem5/src/arch/arm/insts/
H A Dvfp.cc304 fpType temp = 0.0; local
305 __asm__ __volatile__("" : "=m" (temp) : "m" (temp));
306 temp = op1 / op2;
307 if (flushToZero(temp)) {
311 mid = temp;
314 __asm__ __volatile__("" :: "m" (temp));
347 float temp = 0.0; local
348 __asm__ __volatile__("" : "=m" (temp) : "m" (temp));
379 double temp = 0.0; local
1008 fpType temp = func(op1, op2, op2); local
1079 fpType temp = func(op1, op2); local
1139 fpType temp = func(op1); local
[all...]
/gem5/src/base/loader/
H A Ddtb_object.cc163 const void* temp = fdt_getprop(fd, offset, "cpu-release-addr", &len); local
167 rel_addr = betoh(*static_cast<const uint32_t*>(temp));
169 rel_addr = (rel_addr << 32) | betoh(*(static_cast<const uint32_t*>(temp)+1));
/gem5/src/systemc/tests/systemc/misc/communication/channel/dataflow/
H A Ddataflow.cpp132 int temp; local
134 temp = in.read();
135 temp = in.read();
136 out.write(temp);
/gem5/src/systemc/tests/systemc/misc/sim_tests/cycle_dw8051_demo/
H A Dcycle_model.cpp193 int temp = (int)strtol(instr_string, (char **)NULL, 16); local
194 instr_mem[address++] = temp;
196 printf("data byte = %x\n",temp);
1281 int temp; local
1282 exec_bus_cycle(OP_IDLE, 0,0, &temp);
1375 int temp = fetch_instr(my_stack->address); local
1377 return int_mem[temp];
1399 int temp = fetch_instr(my_stack->address); local
1400 return temp;
1407 int temp local
1419 int temp = ((op->val)<<8) + fetch_instr(my_stack->address); local
1426 int temp = fetch_instr(my_stack->address); local
1436 int temp = fetch_instr(my_stack->address); local
1476 int temp = fetch_instr(my_stack->address); local
[all...]
/gem5/src/arch/sparc/
H A Dua2005.cc249 uint64_t temp; local
287 temp = readMiscRegNoEffect(miscReg) & (STS::active | STS::speculative);
292 temp |= tc->contextId() << STS::shft_id;
297 temp |= STS::st_run << (STS::shft_fsm0 -
302 temp |= STS::st_idle << (STS::shft_fsm0 -
306 temp |= STS::st_halt << (STS::shft_fsm0 -
314 return temp;
/gem5/src/sim/
H A Ddrain.cc76 SimObject *temp = dynamic_cast<SimObject*>(obj); local
77 if (temp)
78 DPRINTF(Drain, "Failed to drain %s\n", temp->name());
/gem5/src/dev/virtio/
H A Dbase.hh512 T temp[ring.size()]; local
514 temp, sizeof(T) * ring.size());
516 ring[i] = vtoh_legacy(temp[i]);
523 T temp[ring.size()]; local
525 temp[i] = htov_legacy(ring[i]);
527 temp, sizeof(T) * ring.size());

Completed in 39 milliseconds

123