mirror of
https://github.com/eddyem/CCD_Capture.git
synced 2026-03-20 00:31:04 +03:00
fixed for usefull_macros v0.3.2
This commit is contained in:
4
socket.h
4
socket.h
@@ -27,8 +27,8 @@
|
||||
|
||||
#ifdef EBUG
|
||||
extern double __t0;
|
||||
#define TIMEINIT() do{__t0 = dtime();}while(0)
|
||||
#define TIMESTAMP(...) do{DBG(__VA_ARGS__); green("%g\n", dtime()-__t0); fflush(stdout);}while(0)
|
||||
#define TIMEINIT() do{__t0 = sl_dtime();}while(0)
|
||||
#define TIMESTAMP(...) do{DBG(__VA_ARGS__); green("%g\n", sl_dtime()-__t0); fflush(stdout);}while(0)
|
||||
#else
|
||||
#define TIMEINIT()
|
||||
#define TIMESTAMP(...)
|
||||
|
||||
Reference in New Issue
Block a user