Loading src/opendevnull.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ int main() { std::cout << "Time taken: " << time_taken << " microseconds" << std::endl; // mean of the time for a syscall (10000000) std::cout << "Mean time taken: " << time_taken / 10000000.0 << " microseconds" std::cout << "Mean time taken: " << time_taken / 100000000.0 << " microseconds" << std::endl; // Calculate single syscall () clock_gettime(CLOCK_MONOTONIC, &start); Loading Loading
src/opendevnull.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ int main() { std::cout << "Time taken: " << time_taken << " microseconds" << std::endl; // mean of the time for a syscall (10000000) std::cout << "Mean time taken: " << time_taken / 10000000.0 << " microseconds" std::cout << "Mean time taken: " << time_taken / 100000000.0 << " microseconds" << std::endl; // Calculate single syscall () clock_gettime(CLOCK_MONOTONIC, &start); Loading