| 38 | using namespace colmap; |
| 39 | |
| 40 | static void AddArguments(::benchmark::Benchmark* b) { |
| 41 | for (const int track_length : {5, 20, 100}) { |
| 42 | for (const int num_rigs : {1, 5}) { |
| 43 | for (const int num_cameras_per_rig : {1, 3}) { |
| 44 | for (const int num_frames_per_rig : {10, 50}) { |
| 45 | const int num_images = |
| 46 | num_rigs * num_cameras_per_rig * num_frames_per_rig; |
| 47 | if (track_length > num_images) continue; |
| 48 | for (const int num_points3D : {1000, 10000}) { |
| 49 | b->Args({track_length, |
| 50 | num_rigs, |
| 51 | num_cameras_per_rig, |
| 52 | num_frames_per_rig, |
| 53 | num_points3D}); |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | class BM_BundleAdjustment : public benchmark::Fixture { |
| 62 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected