lis_wtime man page
lis_wtime — measure the elapsed time
LIS_INT lis_wtime(LIS_INT* argc, char** argv);
Measure the elapsed time.
The elapsed time in seconds from the given point is returned as the double precision number
The following exit values are returned:
The process is normally terminated
An error occurred
To measure the processing time, call lis_wtime to get the starting time, call it again to get the ending time, and calculate the difference.