CPXXgettime and CPXgettime
This routine returns a time stamp.
int CPXXgettime( CPXCENVptr env, double * timestamp_p )
int CPXgettime( CPXCENVptr env, double * timestamp_p )
Description
This routine returns a time stamp.
To measure time spent between a starting point and ending point of an operation, take the result of this routine at the starting point; take the result of this routine at the end point; subtract the starting time stamp from the ending time stamp; the subtraction yields elapsed time in seconds.
Whether the elapsed time measures wall clock time (also known
as real time) or CPU time depends on the setting of the parameter known as
clock type for computation time
(CPXPARAM_ClockType
).
The absolute value of the time stamp is not meaningful.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX
. - timestamp_p
-
A pointer to a
double
value in which CPLEX returns the current time stamp.