summaryrefslogtreecommitdiff
path: root/sysspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysspec.c')
-rw-r--r--sysspec.c47
1 files changed, 0 insertions, 47 deletions
diff --git a/sysspec.c b/sysspec.c
index 73b74fb..9449ad5 100644
--- a/sysspec.c
+++ b/sysspec.c
@@ -252,50 +252,3 @@ if(writecode==nelems)
*errorcode=ERROR_FILEWRITE;
}
-
-/*****************************
-** STOPWATCH ROUTINES **
-*****************************/
-
-/****************************
-** StartStopwatch
-** Starts a software stopwatch. Returns the first value of
-** the stopwatch in ticks.
-*/
-unsigned long StartStopwatch()
-{
-return((unsigned long)clock());
-}
-
-/****************************
-** StopStopwatch
-** Stops the software stopwatch. Expects as an input argument
-** the stopwatch start time.
-*/
-unsigned long StopStopwatch(unsigned long startticks)
-{
-
-return((unsigned long)clock()-startticks);
-}
-
-/****************************
-** TicksToSecs
-** Converts ticks to seconds. Converts ticks to integer
-** seconds, discarding any fractional amount.
-*/
-unsigned long TicksToSecs(unsigned long tickamount)
-{
-return((unsigned long)(tickamount/CLOCKS_PER_SEC));
-}
-
-/****************************
-** TicksToFracSecs
-** Converts ticks to fractional seconds. In other words,
-** this returns the exact conversion from ticks to
-** seconds.
-*/
-double TicksToFracSecs(unsigned long tickamount)
-{
-return((double)tickamount/(double)CLOCKS_PER_SEC);
-}
-