#pragma once #include #include #include #define BENCH(x) \ QElapsedTimer x; \ x.start(); #define MARK(x) \ qDebug() << BOOST_CURRENT_FUNCTION << __LINE__ \ << static_cast(x.nsecsElapsed()) / 100000.0 << "ms";