This commit is contained in:
2024-10-07 01:37:33 +02:00
parent e71a8bc738
commit f9123412e5
7 changed files with 60 additions and 3 deletions
+5 -2
View File
@@ -1,3 +1,4 @@
#include <chrono>
#include <iostream>
#include "../econSpd.h"
@@ -122,11 +123,13 @@ int main() {
std::cout << "Mach for CI " << ci << ": " << ratioedMach << std::endl << std::endl;
std::cout << "END Step-By-Step" << std::endl << std::endl << std::endl;
std::cout << "BEGIN All-In-One" << std::endl << std::endl;
auto start = std::chrono::high_resolution_clock::now();
float aioMach = ci2mach(altitude, weight, tipTankPercent, ci);
auto stop = std::chrono::high_resolution_clock::now();
auto duration = std::chrono::duration_cast<std::chrono::nanoseconds>(stop - start);
std::cout << "Mach for CI " << ci << ": " << aioMach << std::endl << std::endl;
std::cout << "END All-In-One" << std::endl ;
std::cout << "END All-In-One, " << duration.count() << std::endl ;
}
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.