summaryrefslogtreecommitdiffstats
path: root/bin/tools/benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tools/benchmark.c')
-rw-r--r--bin/tools/benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tools/benchmark.c b/bin/tools/benchmark.c
index 6ed6872..321ffe9 100644
--- a/bin/tools/benchmark.c
+++ b/bin/tools/benchmark.c
@@ -231,12 +231,12 @@ benchmark (UcaCamera *camera, Options *options)
if (options->test_software) {
g_print ("[ async ] [ software ]");
- benchmark_method (camera, buffer, grab_frames_sync, options, UCA_CAMERA_TRIGGER_SOURCE_SOFTWARE);
+ benchmark_method (camera, buffer, grab_frames_async, options, UCA_CAMERA_TRIGGER_SOURCE_SOFTWARE);
}
if (options->test_external) {
g_print ("[ async ] [ external ]");
- benchmark_method (camera, buffer, grab_frames_sync, options, UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL);
+ benchmark_method (camera, buffer, grab_frames_async, options, UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL);
}
}