De-flake the Meltdown-OF on Intel. (#104)
diff --git a/demos/meltdown_of.cc b/demos/meltdown_of.cc
index 55c2096..2e34fca 100644
--- a/demos/meltdown_of.cc
+++ b/demos/meltdown_of.cc
@@ -95,7 +95,7 @@
return result.second;
}
- if (run > 100000) {
+ if (run > 100000000) {
std::cerr << "Does not converge " << result.second << std::endl;
exit(EXIT_FAILURE);
}
@@ -110,6 +110,9 @@
#else
# error Unsupported OS.
#endif
+ std::cout << "On Intel this example might take many hours." << std::endl
+ << "First character should be leaked within two hours." << std::endl
+ << "On AMD this example should take about 1 second." << std::endl;
std::cout << "Leaking the string: ";
std::cout.flush();
const size_t private_offset = private_data - public_data;