Initial import
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/_to_be_added@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// ------------------------------------------------------------
|
||||
// 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
|
||||
Reference in New Issue
Block a user