From 519fa65beb95876f6f2bf303f99735109f3f2bbc Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Fri, 24 Jan 2025 12:07:48 -0500 Subject: [PATCH] use 2000 timesteps as our benchmark and report total time in seconds --- examples/Hybrid_City10000.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Hybrid_City10000.cpp b/examples/Hybrid_City10000.cpp index f2f8dc817..481d7a03d 100644 --- a/examples/Hybrid_City10000.cpp +++ b/examples/Hybrid_City10000.cpp @@ -43,7 +43,7 @@ using symbol_shorthand::M; using symbol_shorthand::X; // Testing params -const size_t max_loop_count = 1800; // 2000; // 200 //2000 //8000 +const size_t max_loop_count = 2000; // 2000; // 200 //2000 //8000 noiseModel::Diagonal::shared_ptr prior_noise_model = noiseModel::Diagonal::Sigmas( @@ -205,7 +205,7 @@ int main(int argc, char* argv[]) { clock_t end_time = clock(); clock_t total_time = end_time - start_time; - cout << "total_time: " << total_time << endl; + cout << "total_time: " << total_time / CLOCKS_PER_SEC << " seconds" << endl; /// Write results to file write_results(results, (key_t + 1), "HybridISAM_city10000.txt");