MCPcopy Create free account
hub / github.com/RenderKit/embree / main

Method main

tutorials/verify/verify.cpp:7107–7135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7105 }
7106
7107 int VerifyApplication::main(int argc, char** argv) try
7108 {
7109 /* for best performance set FTZ and DAZ flags in MXCSR control and status register */
7110 _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
7111 _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
7112
7113 /* parse command line options */
7114 parseCommandLine(argc,argv);
7115
7116 /* run all enabled tests */
7117 tests->execute(this,false);
7118
7119 /* print result */
7120 std::cout << std::endl;
7121 std::cout << std::setw(TEXT_ALIGN) << "Tests passed" << ": " << numPassedTests << std::endl;
7122 std::cout << std::setw(TEXT_ALIGN) << "Tests failed" << ": " << numFailedTests << std::endl;
7123 std::cout << std::setw(TEXT_ALIGN) << "Tests failed and ignored" << ": " << numFailedAndIgnoredTests << std::endl;
7124 std::cout << std::endl;
7125
7126 return (int)numFailedTests;
7127 }
7128 catch (const std::exception& e) {
7129 std::cout << "Error: " << e.what() << std::endl;
7130 return 1;
7131 }
7132 catch (...) {
7133 std::cout << "Error: unknown exception caught." << std::endl;
7134 return 1;
7135 }
7136}
7137
7138int main(int argc, char** argv)

Callers 15

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 3

parseCommandLineFunction · 0.50
executeMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected