CPXXgetdettime and CPXgetdettime

This routine returns a deterministic time stamp.

int  CPXXgetdettime( CPXCENVptr env, double * dettimestamp_p )

int  CPXgetdettime( CPXCENVptr env, double * dettimestamp_p )

Description

This routine returns a deterministic time stamp.

To measure deterministic 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 deterministic time stamp from the ending deterministic time stamp; the subtraction yields elapsed deterministic time in ticks.

The absolute value of the deterministic time stamp is not meaningful.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.
dettimestamp_p
A pointer to a double value in which CPLEX returns the current deterministic time stamp.

Return

The routine returns 0 (zero) if successful and nonzero if an error occurs.