3 Replies Latest reply on Dec 29, 2015 10:32 AM by Mike-SYR

    Strange value generated by clock() and CLOCKS_PER_SEC


      When I get a program to print out the value of CLOCKS_PER_SEC I get1000000 but when I make an approximate measurement with the function clock() in a loop I get to a value closer to 250 !

      ( i am working with the Eclipse IDE)


      Any idea why ?