Skip to content

Commit

Permalink
Display the number of diodes and success ratio in log level 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jpc-lip6 committed Nov 18, 2024
1 parent e6a9a76 commit 3f73843
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions anabatic/src/AntennaProtect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1158,9 +1158,9 @@ namespace Anabatic {
cmess2 << Dots::asString ( " - Antenna gate maximum WL" , DbU::getValueString(etesian->getAntennaGateMaxWL()) ) << endl;
cmess2 << Dots::asString ( " - Antenna diode maximum WL" , DbU::getValueString(etesian->getAntennaDiodeMaxWL()) ) << endl;
cmess2 << Dots::asString ( " - Antenna segment maximum WL", DbU::getValueString(segmentMaxWL) ) << endl;
cmess2 << Dots::asInt ( " - Total needed diodes", total ) << endl;
cmess2 << Dots::asInt ( " - Failed to allocate" , failed ) << endl;
cmess2 << Dots::asPercentage( " - Success ratio" , (float)(total-failed)/(float)total ) << endl;
cmess1 << Dots::asInt ( " - Total needed diodes", total ) << endl;
cmess1 << Dots::asInt ( " - Failed to allocate" , failed ) << endl;
cmess1 << Dots::asPercentage( " - Success ratio" , (float)(total-failed)/(float)total ) << endl;

stopMeasures();
printMeasures( "antennas" );
Expand Down

0 comments on commit 3f73843

Please sign in to comment.