|
|
@ -218,17 +218,17 @@ private: |
|
|
|
#define DEV_TIMED(S) for (::std::pair<::dev::TimerHelper, bool> __eth_t(S, true); __eth_t.second; __eth_t.second = false) |
|
|
|
#define DEV_TIMED_SCOPE(S) ::dev::TimerHelper __eth_t(S) |
|
|
|
#if WIN32 |
|
|
|
#define DEV_TIMED_FUNCTION DEV_TIMED_SCOPE(DEV_QUOTED(__FUNCSIG__)) |
|
|
|
#define DEV_TIMED_FUNCTION DEV_TIMED_SCOPE(__FUNCSIG__) |
|
|
|
#else |
|
|
|
#define DEV_TIMED_FUNCTION DEV_TIMED_SCOPE(DEV_QUOTED(__PRETTY_FUNCTION__)) |
|
|
|
#define DEV_TIMED_FUNCTION DEV_TIMED_SCOPE(__PRETTY_FUNCTION__) |
|
|
|
#endif |
|
|
|
|
|
|
|
#define DEV_TIMED_ABOVE(S, MS) for (::std::pair<::dev::TimerHelper, bool> __eth_t(::dev::TimerHelper(S, MS), true); __eth_t.second; __eth_t.second = false) |
|
|
|
#define DEV_TIMED_SCOPE_ABOVE(S, MS) ::dev::TimerHelper __eth_t(S, MS) |
|
|
|
#if WIN32 |
|
|
|
#define DEV_TIMED_FUNCTION_ABOVE(MS) DEV_TIMED_SCOPE_ABOVE(DEV_QUOTED(__FUNCSIG__), MS) |
|
|
|
#define DEV_TIMED_FUNCTION_ABOVE(MS) DEV_TIMED_SCOPE_ABOVE(__FUNCSIG__, MS) |
|
|
|
#else |
|
|
|
#define DEV_TIMED_FUNCTION_ABOVE(MS) DEV_TIMED_SCOPE_ABOVE(DEV_QUOTED(__PRETTY_FUNCTION__), MS) |
|
|
|
#define DEV_TIMED_FUNCTION_ABOVE(MS) DEV_TIMED_SCOPE_ABOVE(__PRETTY_FUNCTION__, MS) |
|
|
|
#endif |
|
|
|
|
|
|
|
enum class WithExisting: int |
|
|
|