Hi,
I hope you are well.
I have a problem running the code. When I run the code with the command "./configure.sh && make && ./bogus 1 9" - which compiles the code with no optimization and runs it in a single-threaded mode, I see a wrong output. According to the code, I assume a single thread runs 10 to the power of 9 increment operation which should result in "1000000000". The output result is correct but it takes zero seconds for the program to run the code! This behavior is strange. Even by increasing 9 to 19, it still runs the code in zero seconds with the correct output. The code is utilized on a MacBook Pro with an M2 processor with Apple Clang version 15.0.0 GCC.
I would appreciate any help here.
Bests Regards,
Ehsan