Skip to content

Commit

Permalink
Merge pull request #191 from fabinsch/compute-timings-benchmark
Browse files Browse the repository at this point in the history
set compute_timings = true
  • Loading branch information
jcarpent authored Mar 3, 2023
2 parents ddaabbc + 6f5c61d commit 06ed466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/cpp/benchmark_dense_qp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ main()

for (int i = 0; i < N; i++) {
dense::QP<T> qp(dim, n_eq, n_in);
qp.settings.compute_timings = true; // compute all timings
qp.settings.max_iter = 10000;
qp.settings.max_iter_in = 1000;
qp.settings.eps_abs = 1e-5;
Expand Down

0 comments on commit 06ed466

Please sign in to comment.