Searched refs:laser_type (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/dsent/model/optical/
H A DSWMRLink.cc158 const String& laser_type = getParameter("LaserType"); local
181 if (laser_type == "Throttled")
200 const String& laser_type = getParameter("LaserType"); local
204 if (laser_type == "Throttled")
206 else if (laser_type == "Standard")
209 ASSERT(false, "[Error] " + getInstanceName() + " -> Unknown laser type '" + laser_type + "'!");
223 if (laser_type == "Standard")
H A DSWSRLink.cc210 const String& laser_type = getParameter("LaserType"); local
241 if (laser_type == "Throttled")
259 const String& laser_type = getParameter("LaserType"); local
263 if (laser_type == "Throttled") laser = new ThrottledLaserSource("Laser", getTechModel());
264 else if (laser_type == "Standard") laser = new LaserSource("Laser", getTechModel());
265 else ASSERT(false, "[Error] " + getInstanceName() + " -> Unknown laser type '" + laser_type + "'!");
279 if (laser_type == "Standard") getNddPowerResult("Laser")->addSubResult(laser->getNddPowerResult("Laser"), "Laser", 1.0);

Completed in 7 milliseconds