<|start_filename|>WatchdogInspector/WatchdogInspector/WatchdogInspector.h<|end_filename|>
//
//  WatchdogInspector.h
//  WatchdogInspector
//
//  Created by <NAME> on 25.01.2017.
//  Copyright © 2017 TAPWORK GmbH. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for WatchdogInspector.
FOUNDATION_EXPORT double WatchdogInspectorVersionNumber;

//! Project version string for WatchdogInspector.
FOUNDATION_EXPORT const unsigned char WatchdogInspectorVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <WatchdogInspector/PublicHeader.h>


#import <WatchdogInspector/TWWatchdogInspector.h>


<|start_filename|>Classes/TWWatchdogInspectorViewController.h<|end_filename|>
//
//  TWWatchdogInspectorViewController.h
//  Pods
//
//  Created by <NAME> on 10/02/16.
//
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TWWatchdogInspectorViewController : UIViewController

- (void)updateFPS:(double)fps;
- (void)updateStallingTime:(NSTimeInterval)stallingTime;


@end

NS_ASSUME_NONNULL_END


<|start_filename|>Classes/TWWatchdogInspector.h<|end_filename|>
//
//  TWWatchdogInspector.h
//  Tapwork GmbH
//
//  Created by <NAME> on 25/01/16.
//
//

#import <Foundation/Foundation.h>

@interface TWWatchdogInspector : NSObject

/**
 *  Starts the WatchdogInspector
 */
+ (void)start;

/**
 *  Stops the WatchdogInspector
 */
+ (void)stop;

/**
 * Check for activity
 * @return YES If WatchdogInspector is running
 *
 */
+ (BOOL)isRunning;

/**
 *  If the mainthread stalls longer than this given time,
 *  an exception will be thrown.
 *  Default is 3 seconds
 *  @param time The timeout in seconds for mainthread stalling.
 */
+ (void)setStallingThreshhold:(NSTimeInterval)time;

/**
 *  Tell WatchdogInspector if you want to disable or enable
 *  the stalling exceptions.
 *  Default is YES (turned on)
 *  @param enable If you want to enable or disable the stalling exceptions.
 */
+ (void)setEnableMainthreadStallingException:(BOOL)enable;

/**
 *  Set the update time interval for the background thread timer.
 *  The background thread timer counts the frames that have been set 
 *  by the main thread in that time interval
 *  The update interval should not below 0.5 seconds for performance reasons.
 *  Default is 2 seconds
 *  @param time The interval to measure the frames
 */
+ (void)setUpdateWatchdogInterval:(NSTimeInterval)time;

/**
 *  Turn off or on the NSLogs for framerate in fps
 *
 *  Default is on;
 *  @param useLogs - Turn on to use NSLogs
 */
+ (void)setUseLogs:(BOOL)useLogs;

@end


<|start_filename|>WatchdogInspector/WatchdogInspector-tvOS/WatchdogInspector_tvOS.h<|end_filename|>
//
//  WatchdogInspector_tvOS.h
//  WatchdogInspector-tvOS
//
//  Created by <NAME> on 09/08/2018.
//  Copyright © 2018 TAPWORK GmbH. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for WatchdogInspector_tvOS.
FOUNDATION_EXPORT double WatchdogInspector_tvOSVersionNumber;

//! Project version string for WatchdogInspector_tvOS.
FOUNDATION_EXPORT const unsigned char WatchdogInspector_tvOSVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <WatchdogInspector_tvOS/PublicHeader.h>


#import "TWWatchdogInspector.h"
