|
@ -6,6 +6,7 @@ |
|
|
#include "src/utility/initialize.h"
|
|
|
#include "src/utility/initialize.h"
|
|
|
|
|
|
|
|
|
#include "src/settings/SettingsManager.h"
|
|
|
#include "src/settings/SettingsManager.h"
|
|
|
|
|
|
#include "src/settings/modules/GeneralSettings.h"
|
|
|
|
|
|
|
|
|
/*!
|
|
|
/*!
|
|
|
* Main entry point of the executable storm. |
|
|
* Main entry point of the executable storm. |
|
@ -13,7 +14,7 @@ |
|
|
int main(const int argc, const char** argv) { |
|
|
int main(const int argc, const char** argv) { |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
auto starttime = std::chrono::high_resolution_clock::now(); |
|
|
|
|
|
|
|
|
auto start = std::chrono::high_resolution_clock::now(); |
|
|
storm::utility::setUp(); |
|
|
storm::utility::setUp(); |
|
|
storm::cli::printHeader("Storm", argc, argv); |
|
|
storm::cli::printHeader("Storm", argc, argv); |
|
|
storm::settings::initializeAll("Storm", "storm"); |
|
|
storm::settings::initializeAll("Storm", "storm"); |
|
@ -27,11 +28,11 @@ int main(const int argc, const char** argv) { |
|
|
|
|
|
|
|
|
// All operations have now been performed, so we clean up everything and terminate.
|
|
|
// All operations have now been performed, so we clean up everything and terminate.
|
|
|
storm::utility::cleanUp(); |
|
|
storm::utility::cleanUp(); |
|
|
auto endtime = std::chrono::high_resolution_clock::now(); |
|
|
|
|
|
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(endtime-starttime); |
|
|
|
|
|
auto durationSec = std::chrono::duration_cast<std::chrono::seconds>(endtime-starttime); |
|
|
|
|
|
if(storm::settings::getModule<storm::settings::modules::IOSettings>().isPrintTimingsSet()) { |
|
|
|
|
|
std::cout << "Overal runtime: " << duration.count() << " ms. ( approx " << durationSec.count() << " seconds)." << std::endl; |
|
|
|
|
|
|
|
|
auto end = std::chrono::high_resolution_clock::now(); |
|
|
|
|
|
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(end - start); |
|
|
|
|
|
auto durationSec = std::chrono::duration_cast<std::chrono::seconds>(end - start); |
|
|
|
|
|
if(storm::settings::getModule<storm::settings::modules::GeneralSettings>().isPrintTimingsSet()) { |
|
|
|
|
|
std::cout << "Overal runtime: " << duration.count() << " ms. (approximately " << durationSec.count() << " seconds)." << std::endl; |
|
|
} |
|
|
} |
|
|
return 0; |
|
|
return 0; |
|
|
} catch (storm::exceptions::BaseException const& exception) { |
|
|
} catch (storm::exceptions::BaseException const& exception) { |
|
|