Skip to content

Commit 26abb9f

Browse files
committed
Test commit
1 parent 57bc310 commit 26abb9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

timing/timeSFMBAL.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <fstream>
2525
#include <iomanip>
2626
#include <iostream>
27+
#include <thread>
2728

2829
namespace {
2930
constexpr const char* kDefaultBenchmarkDataset = "dubrovnik-16-22106-pre";
@@ -183,6 +184,7 @@ double runSolver(const NonlinearFactorGraph& graph, const Values& initial,
183184
auto start = std::chrono::high_resolution_clock::now();
184185
LevenbergMarquardtOptimizer lm(graph, initial, params);
185186
lm.optimize();
187+
std::this_thread::sleep_for(std::chrono::seconds(10));
186188
auto end = std::chrono::high_resolution_clock::now();
187189

188190
std::chrono::duration<double> elapsed = end - start;

0 commit comments

Comments
 (0)