Open Louis-ThomasSchreiber opened 2 months ago
Hello @Louis-ThomasSchreiber ! I tested your example, and everything seems functional on my side, as I'm getting the correct results:
╰─$ ./examples/timer
PM:timer time = 10.0046 chrono duration = 10004 ms
Can you provide more information about your system? If you are on Ubuntu or MacOS, you run one of the following scripts: utest/listVersionsUbuntu.sh
or utest/listVersionsMacOS.sh
.
I tried using the default PerformanceInspector and the FileLogger available in libpointmatcher. The output times looked off: The mean iteration time x number of iterations is 10x the actual execution time. I tried investigating with this simple test:
which outputs: PM:timer time = 4.9282e-05 chrono duration = 10000
I would expect:
PM:timer time = 10 chrono duration = 10000
Is there something I dont understand?