beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / luaprofiler / clocks.h
blobb2c7fd7d4d55066621c89ba689612d2eecb97868
1 /*
2 ** LuaProfiler
3 ** Copyright Kepler Project 2005-2007 (http://www.keplerproject.org/luaprofiler)
4 ** $Id: clocks.h,v 1.4 2007/08/22 19:23:53 carregal Exp $
5 */
7 /*****************************************************************************
8 clocks.h:
9 Module to register the time (seconds) between two events
11 Design:
12 'lprofC_start_timer()' marks the first event
13 'lprofC_get_seconds()' gives you the seconds elapsed since the timer
14 was started
15 *****************************************************************************/
17 #include <time.h>
19 void lprofC_start_timer(clock_t *time_marker);
20 float lprofC_get_seconds(clock_t time_marker);