Merge "Fix error mask generation in checkLineContinuity" into nougat-cts-dev am:...
[platform/upstream/VK-GL-CTS.git] / framework / qphelper / qpWatchDog.h
index 6ac8f6a..6247e66 100644 (file)
 
 typedef struct qpWatchDog_s    qpWatchDog;
 
-typedef void           (*qpWatchDogFunc)               (qpWatchDog* dog, void* userPtr);
+typedef enum qpTimeoutReason_e
+{
+       QP_TIMEOUT_REASON_INTERVAL_LIMIT = 0,
+       QP_TIMEOUT_REASON_TOTAL_LIMIT,
+
+       QP_TIMEOUT_REASON_LAST
+} qpTimeoutReason;
+
+typedef void           (*qpWatchDogFunc)               (qpWatchDog* dog, void* userPtr, qpTimeoutReason reason);
 
 DE_BEGIN_EXTERN_C