Forked from
tome / Tales of MajEyal
10816 commits behind the upstream repository.
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@87 51575b47-30f0-44d4-a5cc-537603b46e54
dg authoredgit-svn-id: http://svn.net-core.org/repos/t-engine4@87 51575b47-30f0-44d4-a5cc-537603b46e54
clocks.h 670 B
/*
** 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);