Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

phTime.h

Go to the documentation of this file.
00001 /* ---------------------------------------------------------------------------
00002     Phission : 
00003         Realtime Vision Processing System
00004 
00005     Copyright (C) 2003-2006 Philip D.S. Thoren (pthoren@cs.uml.edu)
00006     University of Massachusetts at Lowell,
00007     Laboratory for Artificial Intelligence and Robotics
00008 
00009     This file is part of Phission.
00010 
00011     Phission is free software; you can redistribute it and/or modify
00012     it under the terms of the GNU Lesser General Public License as published by
00013     the Free Software Foundation; either version 2 of the License, or
00014     (at your option) any later version.
00015 
00016     Phission is distributed in the hope that it will be useful,
00017     but WITHOUT ANY WARRANTY; without even the implied warranty of
00018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019     GNU Lesser General Public License for more details.
00020 
00021     You should have received a copy of the GNU Lesser General Public License
00022     along with Phission; if not, write to the Free Software
00023     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00024 
00025  ---------------------------------------------------------------------------*/
00026 #ifndef _PHTIME_H
00027 #define _PHTIME_H
00028 
00029 #include <phStandard.h>
00030 #include <phStdint.h>
00031 
00032 /* ---------------------------------------------------------------------- */
00036 /* ------------------------------------------------------------------------ */
00037 #ifdef __cplusplus
00038 extern "C" 
00039 {
00040 #endif
00041 
00047 /* ------------------------------------------------------------------------ */
00048 #define phTIME_REPORT_ALL (1<<0)
00049 #define phTIME_REPORT_SUM (0<<0)
00050 
00051 /* ------------------------------------------------------------------------ */
00052 typedef struct ph_time_entry_t  *ph_time_entry;
00053 typedef struct ph_timedb_t      *ph_timedb;
00054     
00055 extern PHAPI(int) ph_timedb_report ( ph_timedb     timedb,
00056                                      uint32_t      flag    );
00057 
00058 extern PHAPI(int) ph_timedb_alloc  ( ph_timedb     *timedb,
00059                                      const char    *label  );
00060 extern PHAPI(int) ph_timedb_free   ( ph_timedb     *timedb );
00061 
00062 extern PHAPI(int) ph_time_start    ( ph_timedb     timedb, 
00063                                      char *label           );
00064 extern PHAPI(int) ph_time_stop     ( ph_timedb     timedb  );
00065  /* end \addtogroup Time */
00067 
00068 /* ------------------------------------------------------------------------ */
00069 #ifdef __cplusplus
00070 } /* extern "C" { */
00071 #endif
00072 
00073 #endif /* _PHTIME_H */




Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:02 2007 for phission by  doxygen 1.4.4