time Rot3 functions
More...
#include <time.h>
#include <iostream>
#include <gtsam/geometry/Rot3.h>
Go to the source code of this file.
|
#define | TEST(TITLE, STATEMENT) |
|
time Rot3 functions
- Author
- Frank Dellaert
Definition in file timeRot3.cpp.
◆ TEST
#define TEST |
( |
|
TITLE, |
|
|
|
STATEMENT |
|
) |
| |
Value: cout << endl << TITLE << endl; \
timeLog = clock(); \
for (
int i = 0;
i <
n;
i++) STATEMENT; \
timeLog2 = clock(); \
seconds = static_cast<double>(timeLog2 - timeLog) / CLOCKS_PER_SEC; \
cout << 1000 * seconds << " milliseconds" << endl; \
cout << (1e9 * seconds /
static_cast<double>(
n)) <<
" nanosecs/call" << endl;
Definition at line 26 of file timeRot3.cpp.
◆ main()