28#if defined(Q_OS_MAC) && !defined(Q_OS_IOS)
29#include <CoreServices/CoreServices.h>
31#include <mach/mach_time.h>
38template <
class Key,
class T>
class QMap;
40#ifndef RDEFAULT_QSTRING
41#define RDEFAULT_QSTRING QString()
73 static void startTimer(
int id=0);
79 static uint stopTimer(
int id,
const QString& msg, uint msThreshold = 0);
86 return stopTimer(0, msg);
89 static void timeStamp();
91 static void hexDump(
const QString& str);
107#if defined(Q_OS_MAC) && !defined(Q_OS_IOS)
#define RDEFAULT_QSTRING
Definition RDebug.h:41
Q_DECLARE_METATYPE(RMath *)
This class provides some static methods for printing debugging information to stderr.
Definition RDebug.h:66
static QMap< QString, int > counter
Definition RDebug.h:112
static QMutex mutexCounter
Definition RDebug.h:115
static uint stopTimer(const QString &msg)
Stops the timer with ID 0 and prints the given message together with the time that has elapsed.
Definition RDebug.h:85
static QString prefix
Definition RDebug.h:113
static QString getPrefix()
Definition RDebug.h:102
static void setPrefix(const QString &p)
Definition RDebug.h:99
static QMap< int, QElapsedTimer > timer
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RDebug.h:110
#define QCADCORE_EXPORT
Definition core_global.h:10