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

/gem5/ext/dsent/model/optical_graph/
H A DOpticalWavelength.cc112 const OpticalDataPath& current_path = getDataPaths()->at(i); local
116 double ER_dB = current_path.modulator->getExtinctionRatio();
118 double IR_dB = current_path.modulator->getInsertionLoss();
120 for (unsigned int j = 0; j < current_path.detectors.size(); ++j)
123 double current_laser_power = current_path.detectors[j]->getSensitivity(ER_dB) *
124 std::pow(10.0, (current_path.losses[j] + IR_dB) / 10.0) *
131 number_detectors_ = std::min(number_detectors_, (unsigned int) current_path.detectors.size());
140 laser_power_sum += (*iter) / current_path.laser->getEfficiency();

Completed in 4 milliseconds