Commit a003cc70 authored by marko's avatar marko

branches/zip: Remove the unused function ut_clock().

parent 174bd7b7
...@@ -134,11 +134,6 @@ Sort function for ulint arrays. */ ...@@ -134,11 +134,6 @@ Sort function for ulint arrays. */
void void
ut_ulint_sort(ulint* arr, ulint* aux_arr, ulint low, ulint high); ut_ulint_sort(ulint* arr, ulint* aux_arr, ulint low, ulint high);
/*============================================================*/ /*============================================================*/
/************************************************************
The following function returns elapsed CPU time in milliseconds. */
ulint
ut_clock(void);
/************************************************************** /**************************************************************
Returns system time. We do not specify the format of the time returned: Returns system time. We do not specify the format of the time returned:
the only way to manipulate it is to use the function ut_difftime. */ the only way to manipulate it is to use the function ut_difftime. */
......
...@@ -56,15 +56,6 @@ ut_get_high32( ...@@ -56,15 +56,6 @@ ut_get_high32(
return((ulint)i); return((ulint)i);
} }
/************************************************************
The following function returns elapsed CPU time in milliseconds. */
ulint
ut_clock(void)
{
return((clock() * 1000) / CLOCKS_PER_SEC);
}
/************************************************************** /**************************************************************
Returns system time. We do not specify the format of the time returned: Returns system time. We do not specify the format of the time returned:
the only way to manipulate it is to use the function ut_difftime. */ the only way to manipulate it is to use the function ut_difftime. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment