MCPcopy Create free account
hub / github.com/colmap/colmap / AddArguments

Function AddArguments

benchmark/runtime/bundle_adjustment.cc:40–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38using namespace colmap;
39
40static 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
61class BM_BundleAdjustment : public benchmark::Fixture {
62 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected