diff options
-rw-r--r-- | src/measurements.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/measurements.cpp b/src/measurements.cpp index bf053e9..841e61a 100644 --- a/src/measurements.cpp +++ b/src/measurements.cpp @@ -3,6 +3,15 @@ #include <iostream> #include <cstdio> +class badcycleException: public std::exception +{ + virtual const char* what() const throw() + { + return "Could not find a valid cycle on the broken system."; + } +} badcycleex; + + void update_distribution_file(std::string id, const std::vector<uint64_t>& data, std::string model_string) { std::string filename = model_string + id + ".dat"; std::ifstream file(filename); |