Searched refs:pi (Results 1 - 12 of 12) sorted by relevance
/gem5/ext/dsent/util/ |
H A D | Constants.h | 31 static const double pi; member in class:DSENT::Constants
|
H A D | Constants.cc | 28 const double Constants::pi = 3.14159; //PI member in class:DSENT::Constants
|
/gem5/src/systemc/tests/systemc/kernel/sc_attribute/test01/ |
H A D | test01.cpp | 55 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 D | mem_footprint.cc | 100 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 D | test02.cpp | 62 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 D | OpticalLinkBackendRx.cc | 287 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 D | OpticalLinkBackendTx.cc | 276 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 D | RingDetector.cc | 236 double pi = Constants::pi; local 284 m_quad_b1_ = - 2 * pi / 2 * sigma * sigma * q * 0.7 * data_rate;
|
H A D | RingModulator.cc | 200 double pi = Constants::pi; local 227 double L_tot = 2 * pi * R; // Optical length of the ring
|
/gem5/util/minorview/ |
H A D | blobs.py | 131 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 D | test_kwargs_and_defaults.py | 82 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 D | pybind11.h | 440 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 22 milliseconds