1 auto start = std::chrono::steady_clock::now(); 2 3 API( ); 4 5 auto end = std::chrono::steady_clock::now(); 6 std::chrono::duration<double> spent = end - start; 7 std::cout << " Time: " << spent.count() << " sec \n"; 8