| 68 | struct bench_impl |
| 69 | { |
| 70 | static EIGEN_DONT_INLINE void run(const Transformation& t) |
| 71 | { |
| 72 | Matrix<typename Transformation::Scalar,get_dim<Transformation>::Dim,N> data; |
| 73 | data.setRandom(); |
| 74 | bench_impl<Transformation,N-1>::run(t); |
| 75 | BenchTimer timer; |
| 76 | BENCH(timer,10,100000,transform(t,data)); |
| 77 | cout.width(9); |
| 78 | cout << timer.best() << " "; |
| 79 | } |
| 80 | }; |
| 81 | |
| 82 |