// // This file is auto-generated. Please don't modify it! // #pragma once #ifdef __cplusplus //#import "opencv.hpp" #import "opencv2/core.hpp" #import "opencv2/core/utility.hpp" #else #define CV_EXPORTS #endif #import NS_ASSUME_NONNULL_BEGIN // C++: class TickMeter /** * a Class to measure passing time. * * The class computes passing time by counting the number of ticks per second. That is, the following code computes the * execution time in seconds: * SNIPPET: snippets/core_various.cpp TickMeter_total * * It is also possible to compute the average time over multiple runs: * SNIPPET: snippets/core_various.cpp TickMeter_average * * @see getTickCount, getTickFrequency * * Member of `Core` */ CV_EXPORTS @interface TickMeter : NSObject #ifdef __cplusplus @property(readonly)cv::Ptr nativePtr; #endif #ifdef __cplusplus - (instancetype)initWithNativePtr:(cv::Ptr)nativePtr; + (instancetype)fromNative:(cv::Ptr)nativePtr; #endif #pragma mark - Methods // // cv::TickMeter::TickMeter() // - (instancetype)init; // // void cv::TickMeter::start() // - (void)start NS_SWIFT_NAME(start()); // // void cv::TickMeter::stop() // - (void)stop NS_SWIFT_NAME(stop()); // // int64 cv::TickMeter::getTimeTicks() // - (long)getTimeTicks NS_SWIFT_NAME(getTimeTicks()); // // double cv::TickMeter::getTimeMicro() // - (double)getTimeMicro NS_SWIFT_NAME(getTimeMicro()); // // double cv::TickMeter::getTimeMilli() // - (double)getTimeMilli NS_SWIFT_NAME(getTimeMilli()); // // double cv::TickMeter::getTimeSec() // - (double)getTimeSec NS_SWIFT_NAME(getTimeSec()); // // int64 cv::TickMeter::getCounter() // - (long)getCounter NS_SWIFT_NAME(getCounter()); // // double cv::TickMeter::getFPS() // - (double)getFPS NS_SWIFT_NAME(getFPS()); // // double cv::TickMeter::getAvgTimeSec() // - (double)getAvgTimeSec NS_SWIFT_NAME(getAvgTimeSec()); // // double cv::TickMeter::getAvgTimeMilli() // - (double)getAvgTimeMilli NS_SWIFT_NAME(getAvgTimeMilli()); // // void cv::TickMeter::reset() // - (void)reset NS_SWIFT_NAME(reset()); @end NS_ASSUME_NONNULL_END