// ------------------------------------------------------------ // tictoc.h // // Utility to measure timing // // 10.03.2005, J.Ahrensfeld // ------------------------------------------------------------ #ifndef TICTOC_H #define TICTOC_H // ------------------------------------------------------------ typedef struct _tictoc_t { struct timeval s, e; struct timezone tz; } tictoc_t; // ------------------------------------------------------------ void Tic(struct _tictoc_t *pObj); void Toc(struct _tictoc_t *pObj); // ------------------------------------------------------------ #endif // TICTOC_H