From 3bc44892a974032fdeff7940ef80a494ee7756ac Mon Sep 17 00:00:00 2001
From: Lorenzo Cucchi <lorenzo.cucchi@skywarder.eu>
Date: Fri, 23 Jun 2023 23:32:48 +0200
Subject: [PATCH] [TEST] removed time benchmark, useless due to the  modified
 mutex in the driver

---
 src/tests/sensors/test-vn300.cpp | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/tests/sensors/test-vn300.cpp b/src/tests/sensors/test-vn300.cpp
index 534ef0c7a..a026644d7 100644
--- a/src/tests/sensors/test-vn300.cpp
+++ b/src/tests/sensors/test-vn300.cpp
@@ -90,17 +90,14 @@ int main()
 
     for (int j = 0; j < 10; j++)
     {
-        uint64_t time_start = 0, time_end = 0;
+        
         for (int i = 0; i < 10; i++)
         {   
-            time_start = 0;
-            time_end   = 0;
-            time_start = TimestampTimer::getTimestamp();
+    
             sensor.sample();
             sample   = sensor.getLastSample();
-            time_end = TimestampTimer::getTimestamp();
-            printf("Sample %i done in %" PRIu64 " microseconds\n", i,
-                   (time_end - time_start));
+            
+            printf("Sample %i\n", i);
             printf("acc: %" PRIu64 ", %.3f, %.3f, %.3f\n",
                    sample.accelerationTimestamp, sample.accelerationX,
                    sample.accelerationY, sample.accelerationZ);
-- 
GitLab