From: edgarriba Date: Mon, 11 Aug 2014 09:06:05 +0000 (+0200) Subject: Removed Timer X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~165^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7a19a9a5f8b6750fd17506eadf1d446ced87d3a;p=profile%2Fivi%2Fopencv.git Removed Timer --- diff --git a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h index 55ca0fb..8a3763a 100644 --- a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h +++ b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h @@ -66,19 +66,4 @@ std::string FloatToString ( float Number ); // Converts a given integer to a string std::string IntToString ( int Number ); -class Timer -{ -public: - Timer(); - void start() { tstart = (double)clock()/CLOCKS_PER_SEC; } - void stop() { tstop = (double)clock()/CLOCKS_PER_SEC; } - void reset() { tstart = 0; tstop = 0;} - - double getTimeMilli() const { return (tstop-tstart)*1000; } - double getTimeSec() const { return tstop-tstart; } - -private: - double tstart, tstop, ttime; -}; - #endif /* UTILS_H_ */