15 std::cerr <<
"Error, no wasm file provided\n";
18 auto t3 = std::chrono::high_resolution_clock::now();
23 auto t1 = std::chrono::high_resolution_clock::now();
25 auto t2 = std::chrono::high_resolution_clock::now();
26 std::cout <<
"Startup " << std::chrono::duration_cast<std::chrono::nanoseconds>(t2-t1).count() <<
"\n";
28 auto t3 = std::chrono::high_resolution_clock::now();
30 auto t4 = std::chrono::high_resolution_clock::now();
31 std::cout <<
"Execution " << std::chrono::duration_cast<std::chrono::nanoseconds>(t4-t3).count() <<
"\n";
34 auto t4 = std::chrono::high_resolution_clock::now();
35 std::cout <<
"Execution " << std::chrono::duration_cast<std::chrono::nanoseconds>(t4-t3).count() <<
"\n";
36 std::cerr <<
"sys-vm interpreter error\n";
37 std::cerr << ex.
what() <<
" : " << ex.
detail() <<
"\n";