Lines Matching full:log
31 size_t N, size_t rounds, std::ofstream &log) {
61 log << "-- My function --\n";
62 log << " Total time : " << timer.nanoseconds() << " ns \n";
63 log << " Average runtime : " << my_average << " ns/op \n";
64 log << " Ops per second : "
73 log << "-- Other function --\n";
74 log << " Total time : " << timer.nanoseconds() << " ns \n";
75 log << " Average runtime : " << other_average << " ns/op \n";
76 log << " Ops per second : "
79 log << "-- Average runtime ratio --\n";
80 log << " Mine / Other's : " << my_average / other_average << " \n";
85 std::ofstream log(logFile);
86 log << " Performance tests with inputs in denormal range:\n";
89 1'000'001, rounds, log);
90 log << "\n Performance tests with inputs in normal range:\n";
94 1'000'001, rounds, log);
95 log << "\n Performance tests with inputs in normal range with exponents "
101 rounds, log);
106 std::ofstream log(logFile);
107 log << " Diff tests with inputs in denormal range:\n";
110 /* endingBit= */ FPBits::max_subnormal().uintval(), 1'000'001, log);
111 log << "\n Diff tests with inputs in normal range:\n";
115 /* endingBit= */ FPBits::max_normal().uintval(), 100'000'001, log);
116 log << "\n Diff tests with inputs in normal range with exponents "
122 log);
124 log << "Total number of differing results: " << diffCount << '\n';