00001 ///////////////////////////////////////////////////////////////////////////////// 00002 // 00003 // This file is part of the TLIB computer vision library. 00004 // Copyright (C) 2003-2008 Sebastien Grange 00005 // Copyright (C) 2003-2007 VRAI Group, EPFL 00006 // All rights reserved. 00007 // 00008 // This library is free software; you can redistribute it and/or modify 00009 // it under the terms of the GNU General Public License("GPL") version 2 00010 // as published by the Free Software Foundation. 00011 // 00012 // <http://www.tuyphon.com/tlib> 00013 // 00014 ///////////////////////////////////////////////////////////////////////////////// 00015 00016 00017 #ifndef __TLTIMER_H__ 00018 #define __TLTIMER_H__ 00019 00020 00021 #include "tlVision.h" 00022 00023 // max number of timers 00024 #define TL_MAX_TIMER 10 00025 00026 // initialize TL application main timer 00027 int tl_timer_init (void); 00028 00029 // get TL application main timer 00030 unsigned long tl_timer_get_time (void); 00031 00032 // reset and access TL timers 00033 int tl_timer_reset (int index); 00034 unsigned long tl_timer_get (int index); 00035 00036 #endif 00037 00038