Searched refs:pi (Results 1 - 12 of 12) sorted by relevance

/gem5/ext/dsent/util/
H A DConstants.h31 static const double pi; member in class:DSENT::Constants
H A DConstants.cc28 const double Constants::pi = 3.14159; //PI member in class:DSENT::Constants
/gem5/src/systemc/tests/systemc/kernel/sc_attribute/test01/
H A Dtest01.cpp55 sc_attribute<int>* pi = dynamic_cast<sc_attribute<int>*>( p ); local
56 if( pi != 0 ) {
57 cout << pi->value << endl;
/gem5/src/mem/probes/
H A Dmem_footprint.cc100 MemFootprintProbe::handleRequest(const ProbePoints::PacketInfo &pi) argument
102 if (!pi.cmd.isRequest() || !system->isMemAddr(pi.addr))
105 const Addr cl_addr = (pi.addr >> cacheLineSizeLg2) << cacheLineSizeLg2;
106 const Addr page_addr = (pi.addr >> pageSizeLg2) << pageSizeLg2;
/gem5/src/systemc/tests/systemc/kernel/sc_attribute/test02/
H A Dtest02.cpp62 sc_attribute<std::string>* pi = dynamic_cast<sc_attribute<std::string>*>( p ); local
63 if( pi != 0 ) {
64 cout << pi->value << endl;
/gem5/ext/dsent/model/optical/
H A DOpticalLinkBackendRx.cc287 double pi = Constants::pi; local
297 double L = 2 * pi * R; // Optical length
314 double L = 2 * pi * R; // Optical length
367 double pi = Constants::pi; local
375 double L = 2 * pi * R; // Optical length
H A DOpticalLinkBackendTx.cc276 double pi = Constants::pi; local
286 double L = 2 * pi * R; // Optical length
304 double L = 2 * pi * R; // Optical length
358 double pi = Constants::pi; local
366 double L = 2 * pi * R; // Optical length
H A DRingDetector.cc236 double pi = Constants::pi; local
284 m_quad_b1_ = - 2 * pi / 2 * sigma * sigma * q * 0.7 * data_rate;
H A DRingModulator.cc200 double pi = Constants::pi; local
227 double L_tot = 2 * pi * R; // Optical length of the ring
/gem5/util/minorview/
H A Dblobs.py131 cr.arc(centre.x, centre.y, unit, angleFrom * math.pi,
132 angleTo * math.pi)
310 cr.rotate(- (math.pi / 2.0))
331 cr.rotate(- (math.pi / 2.0))
335 cr.rotate(math.pi)
442 cr.rotate(math.pi)
/gem5/ext/pybind11/tests/
H A Dtest_kwargs_and_defaults.py82 assert mpk(-2, 3.5, pi=3.14159, e=2.71828) == (-2, 3.5, {'e': 2.71828, 'pi': 3.14159})
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h440 const auto pi = reinterpret_cast<instance *>(parent.ptr()); local
441 self_value_and_holder = pi->get_value_and_holder(tinfo, false);
780 auto *pi = reinterpret_cast<instance *>(parent.ptr());
781 self_value_and_holder.type->init_instance(pi, nullptr);

Completed in 28 milliseconds