libigl v2.5.0
Loading...
Searching...
No Matches
get_seconds.h File Reference
#include "igl_inline.h"
#include "get_seconds.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Macros

#define IGL_TICTOC_LAMBDA
 

Functions

double igl::get_seconds ()
 Current time in seconds.
 

Macro Definition Documentation

◆ IGL_TICTOC_LAMBDA

#define IGL_TICTOC_LAMBDA
Value:
const auto & tictoc = []() \
{ \
static double t_start = igl::get_seconds(); \
double diff = igl::get_seconds()-t_start; \
t_start += diff; \
return diff; \
};
double get_seconds()
Current time in seconds.