Classes | Namespaces | Defines | Enumerations
BenchTimer.h File Reference
#include <unistd.h>
#include <Eigen/Core>
Include dependency graph for BenchTimer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Eigen::BenchTimer

Namespaces

namespace  Eigen

Defines

#define BENCH(TIMER, TRIES, REP, CODE)

Enumerations

enum  { Eigen::CPU_TIMER = 0, Eigen::REAL_TIMER = 1 }

Define Documentation

#define BENCH (   TIMER,
  TRIES,
  REP,
  CODE 
)
Value:
{ \
    TIMER.reset(); \
    for(int uglyvarname1=0; uglyvarname1<TRIES; ++uglyvarname1){ \
      TIMER.start(); \
      for(int uglyvarname2=0; uglyvarname2<REP; ++uglyvarname2){ \
        CODE; \
      } \
      TIMER.stop(); \
    } \
  }

Definition at line 157 of file BenchTimer.h.



re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:44