diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luaprofiler/clocks.h')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luaprofiler/clocks.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luaprofiler/clocks.h b/Build/source/texk/web2c/luatexdir/luaprofiler/clocks.h new file mode 100644 index 00000000000..b2c7fd7d4d5 --- /dev/null +++ b/Build/source/texk/web2c/luatexdir/luaprofiler/clocks.h @@ -0,0 +1,20 @@ +/* +** LuaProfiler +** Copyright Kepler Project 2005-2007 (http://www.keplerproject.org/luaprofiler) +** $Id: clocks.h,v 1.4 2007/08/22 19:23:53 carregal Exp $ +*/ + +/***************************************************************************** +clocks.h: + Module to register the time (seconds) between two events + +Design: + 'lprofC_start_timer()' marks the first event + 'lprofC_get_seconds()' gives you the seconds elapsed since the timer + was started +*****************************************************************************/ + +#include <time.h> + +void lprofC_start_timer(clock_t *time_marker); +float lprofC_get_seconds(clock_t time_marker); |