24 using namespace gtsam;
36 Matrix computed1, computed2;
37 long timeLog = clock();
38 for(
int i = 0;
i <
n;
i++)
40 long timeLog2 = clock();
41 double seconds = (double)(timeLog2-timeLog)/CLOCKS_PER_SEC;
42 cout << ((double)
n/seconds) <<
" calls/second" << endl;
43 cout << ((double)seconds*1000000/
n) <<
" musecs/call" << endl;