Macaulay2 Engine
Loading...
Searching...
No Matches

◆ TIME

#define TIME ( t,
call )
Value:
{ \
auto __now1 = now(); \
call; \
auto __now2 = now(); \
t += nanoseconds(__now2 - __now1); \
}
long nanoseconds(DurationType time_diff)
Definition timing.hpp:45
std::chrono::steady_clock::time_point now()
Definition timing.hpp:39

Definition at line 67 of file timing.hpp.

67#define TIME(t, call) \
68 { \
69 auto __now1 = now(); \
70 call; \
71 auto __now2 = now(); \
72 t += nanoseconds(__now2 - __now1); \
73 }

Referenced by HomotopyConcrete< RT, FixedPrecisionHomotopyAlgorithm >::track().