methods for clocks and timing issues
Definition in file clock.c.
#include <assert.h>#include <sys/times.h>#include <sys/time.h>#include <unistd.h>#include <time.h>#include "scip/def.h"#include "scip/pub_message.h"#include "blockmemshell/memory.h"#include "scip/set.h"#include "scip/clock.h"#include "scip/struct_clock.h"Go to the source code of this file.
|
static |
converts CPU clock ticks into seconds
| cputime | clock ticks for CPU time |
Definition at line 53 of file clock.c.
References cputime2sec(), and SCIP_Real.
Referenced by cputime2sec(), SCIPclockGetTime(), and SCIPclockStart().
|
static |
converts wall clock time into seconds
| sec | seconds counter |
| usec | microseconds counter |
Definition at line 77 of file clock.c.
References SCIP_Real, and walltime2sec().
Referenced by SCIPclockGetTime(), SCIPclockStart(), and walltime2sec().
|
static |
converts seconds into CPU clock ticks
| sec | seconds |
| cputime | pointer to store clock ticks for CPU time |
Definition at line 87 of file clock.c.
References assert(), NULL, SCIP_Real, and sec2cputime().
Referenced by SCIPclockSetTime(), and sec2cputime().
|
static |
converts wall clock time into seconds
| sec | seconds |
| wallsec | pointer to store seconds counter |
| wallusec | pointer to store microseconds counter |
Definition at line 110 of file clock.c.
References assert(), NULL, SCIP_Real, and sec2walltime().
Referenced by SCIPclockSetTime(), and sec2walltime().
|
static |
sets the clock's type and converts the clock timer accordingly
| clck | clock timer |
| newtype | new clock type |
Definition at line 126 of file clock.c.
References assert(), clockSetType(), SCIP_Clock::clocktype, SCIP_Clock::nruns, NULL, SCIP_CLOCKTYPE_DEFAULT, SCIP_Real, SCIPclockGetTime(), SCIPclockReset(), SCIPclockSetTime(), and SCIPdebugMessage.
Referenced by clockSetType(), clockUpdateDefaultType(), and SCIPclockSetTime().
|
static |
if the clock uses the default clock type and the default changed, converts the clock timer to the new type
| clck | clock timer |
| defaultclocktype | default type of clock to use |
Definition at line 157 of file clock.c.
References assert(), clockSetType(), SCIP_Clock::clocktype, clockUpdateDefaultType(), NULL, SCIP_CLOCKTYPE_DEFAULT, and SCIP_Clock::usedefault.
Referenced by clockUpdateDefaultType(), and SCIPclockStart().
| SCIP_RETCODE SCIPclockCreate | ( | SCIP_CLOCK ** | clck, |
| SCIP_CLOCKTYPE | clocktype ) |
creates a clock and initializes it
| clck | pointer to clock timer |
| clocktype | type of clock |
Definition at line 170 of file clock.c.
References assert(), BMSallocMemory, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPclockCreate(), and SCIPclockInit().
Referenced by doBendersCreate(), doBenderscutCreate(), doBranchruleCreate(), doComprCreate(), doConflicthdlrCreate(), doConshdlrCreate(), doCutselCreate(), doEventhdlrCreate(), doHeurCreate(), doIISfinderCreate(), doNodeselCreate(), doPresolCreate(), doPricerCreate(), doPropCreate(), doReaderCreate(), doRelaxCreate(), doScipCreate(), doSepaCreate(), SCIPclockCreate(), SCIPconflictCreate(), SCIPcreateClock(), SCIPcreateCPUClock(), SCIPcreateWallClock(), SCIPcutpoolCreate(), SCIPexprhdlrCreate(), SCIPiisCreate(), SCIPnlpiCreate(), SCIPpricestoreCreate(), SCIPreaderRead(), SCIPreoptCreate(), and SCIPstatCreate().
| void SCIPclockFree | ( | SCIP_CLOCK ** | clck | ) |
frees a clock
| clck | pointer to clock timer |
Definition at line 185 of file clock.c.
References assert(), BMSfreeMemory, NULL, and SCIPclockFree().
Referenced by SCIPbenderscutFree(), SCIPbendersFree(), SCIPbranchruleFree(), SCIPclockFree(), SCIPcomprFree(), SCIPconflictFree(), SCIPconflicthdlrFree(), SCIPconshdlrFree(), SCIPcutpoolFree(), SCIPcutselFree(), SCIPeventhdlrFree(), SCIPexprhdlrFree(), SCIPfree(), SCIPfreeClock(), SCIPheurFree(), SCIPiisfinderFree(), SCIPiisFree(), SCIPnlpiFree(), SCIPnodeselFree(), SCIPpresolFree(), SCIPpricerFree(), SCIPpricestoreFree(), SCIPpropFree(), SCIPreaderFree(), SCIPreaderRead(), SCIPrelaxFree(), SCIPreoptFree(), SCIPsepaFree(), and SCIPstatFree().
| void SCIPclockInit | ( | SCIP_CLOCK * | clck, |
| SCIP_CLOCKTYPE | clocktype ) |
initializes and resets a clock
| clck | clock timer |
| clocktype | type of clock |
Definition at line 195 of file clock.c.
References assert(), SCIP_Clock::enabled, SCIP_Clock::lasttime, NULL, SCIPclockInit(), SCIPclockSetType(), SCIPdebugMessage, and TRUE.
Referenced by SCIPclockCreate(), and SCIPclockInit().
| void SCIPclockReset | ( | SCIP_CLOCK * | clck | ) |
completely stop the clock and reset the clock's counter to zero
| clck | clock timer |
Definition at line 209 of file clock.c.
References assert(), SCIP_Clock::clocktype, SCIP_Clock::data, SCIP_Clock::nruns, NULL, SCIP_CLOCKTYPE_CPU, SCIP_CLOCKTYPE_DEFAULT, SCIP_CLOCKTYPE_WALL, SCIPABORT, SCIPclockReset(), SCIPdebugMessage, SCIPerrorMessage, and SCIP_Clock::usedefault.
Referenced by clockSetType(), SCIPbenderscutInit(), SCIPbendersInit(), SCIPbranchruleInit(), SCIPclockDisable(), SCIPclockReset(), SCIPclockSetType(), SCIPcomprInit(), SCIPconflicthdlrInit(), SCIPconshdlrInit(), SCIPcutselInit(), SCIPeventhdlrInit(), SCIPexprhdlrInit(), SCIPheurInit(), SCIPiisReset(), SCIPnlpiInit(), SCIPnlpiMergeStatistics(), SCIPnodeselInit(), SCIPpresolInit(), SCIPpricerInit(), SCIPpropInit(), SCIPreaderResetReadingTime(), SCIPrelaxInit(), SCIPresetClock(), SCIPsepaInit(), and SCIPstatReset().
| void SCIPclockEnable | ( | SCIP_CLOCK * | clck | ) |
enables the clock
| clck | clock timer |
Definition at line 235 of file clock.c.
References assert(), SCIP_Clock::clocktype, SCIP_Clock::enabled, NULL, SCIPclockEnable(), SCIPdebugMessage, TRUE, and SCIP_Clock::usedefault.
Referenced by SCIPclockEnable(), and SCIPclockEnableOrDisable().
| void SCIPclockDisable | ( | SCIP_CLOCK * | clck | ) |
disables and resets the clock
| clck | clock timer |
Definition at line 247 of file clock.c.
References assert(), SCIP_Clock::clocktype, SCIP_Clock::enabled, FALSE, NULL, SCIPclockDisable(), SCIPclockReset(), SCIPdebugMessage, and SCIP_Clock::usedefault.
Referenced by SCIPclockDisable(), and SCIPclockEnableOrDisable().
| void SCIPclockEnableOrDisable | ( | SCIP_CLOCK * | clck, |
| SCIP_Bool | enable ) |
enables or disables clck, depending on the value of the flag
| clck | the clock to be disabled/enabled |
| enable | should the clock be enabled? |
Definition at line 260 of file clock.c.
References assert(), NULL, SCIP_Bool, SCIPclockDisable(), SCIPclockEnable(), and SCIPclockEnableOrDisable().
Referenced by SCIPbendersEnableOrDisableClocks(), SCIPbranchruleEnableOrDisableClocks(), SCIPclockEnableOrDisable(), SCIPconflictEnableOrDisableClocks(), SCIPconflicthdlrEnableOrDisableClocks(), SCIPconshdlrEnableOrDisableClocks(), SCIPcutselEnableOrDisableClocks(), SCIPeventhdlrEnableOrDisableClocks(), SCIPheurEnableOrDisableClocks(), SCIPiisfinderEnableOrDisableClocks(), SCIPnodeselEnableOrDisableClocks(), SCIPpresolEnableOrDisableClocks(), SCIPpricerEnableOrDisableClocks(), SCIPpropEnableOrDisableClocks(), SCIPreaderEnableOrDisableClocks(), SCIPrelaxEnableOrDisableClocks(), SCIPsepaEnableOrDisableClocks(), SCIPsetClockEnabled(), and SCIPstatEnableOrDisableStatClocks().
| void SCIPclockSetType | ( | SCIP_CLOCK * | clck, |
| SCIP_CLOCKTYPE | clocktype ) |
sets the type of the clock, overriding the default clock type, and resets the clock
| clck | clock timer |
| clocktype | type of clock |
Definition at line 274 of file clock.c.
References assert(), SCIP_Clock::clocktype, NULL, SCIP_CLOCKTYPE_DEFAULT, SCIPclockReset(), SCIPclockSetType(), SCIPdebugMessage, and SCIP_Clock::usedefault.
Referenced by SCIPclockInit(), and SCIPclockSetType().
| void SCIPclockStart | ( | SCIP_CLOCK * | clck, |
| SCIP_SET * | set ) |
starts measurement of time in the given clock
starts measurement of time in the given clock, update the clock's type if it is bound to the default type
| clck | clock timer |
| set | global SCIP settings |
Definition at line 290 of file clock.c.
References assert(), SCIP_Clock::clocktype, clockUpdateDefaultType(), cputime2sec(), SCIP_Clock::enabled, SCIP_Clock::nruns, NULL, SCIP_CLOCKTYPE_CPU, SCIP_CLOCKTYPE_DEFAULT, SCIP_CLOCKTYPE_WALL, SCIPABORT, SCIPclockStart(), SCIPdebugMessage, SCIPerrorMessage, and walltime2sec().
Referenced by addCurrentSolution(), addNode(), conflictAddConflictCons(), conflictAnalyzeBoundexceedingLP(), conflictAnalyzeInfeasibleLP(), conflictAnalyzeLP(), doCopy(), doScipCreate(), lpBarrier(), lpDualSimplex(), lpLexDualSimplex(), lpPrimalSimplex(), nlpSolve(), nodeRepropagate(), performStrongbranchWithPropagation(), presolve(), SCIPbenderscutExec(), SCIPbenderscutExit(), SCIPbenderscutExitsol(), SCIPbenderscutInit(), SCIPbenderscutInitsol(), SCIPbendersExec(), SCIPbendersExit(), SCIPbendersExitpre(), SCIPbendersExitsol(), SCIPbendersInit(), SCIPbendersInitpre(), SCIPbendersInitsol(), SCIPbranchruleExecExternSol(), SCIPbranchruleExecLPSol(), SCIPbranchruleExecPseudoSol(), SCIPbranchruleExit(), SCIPbranchruleExitsol(), SCIPbranchruleInit(), SCIPbranchruleInitsol(), SCIPclockStart(), SCIPcolGetStrongbranch(), SCIPcolGetStrongbranches(), SCIPcomprExec(), SCIPcomprExit(), SCIPcomprInit(), SCIPconflictAnalyze(), SCIPconflictAnalyzePseudo(), SCIPconflictAnalyzeResolution(), SCIPconflictAnalyzeStrongbranch(), SCIPconflicthdlrExec(), SCIPconflicthdlrExit(), SCIPconflicthdlrExitsol(), SCIPconflicthdlrInit(), SCIPconflicthdlrInitsol(), SCIPconshdlrCheck(), SCIPconshdlrEnforceLPSol(), SCIPconshdlrEnforcePseudoSol(), SCIPconshdlrEnforceRelaxSol(), SCIPconshdlrExit(), SCIPconshdlrExitpre(), SCIPconshdlrExitsol(), SCIPconshdlrInit(), SCIPconshdlrInitLP(), SCIPconshdlrInitpre(), SCIPconshdlrInitsol(), SCIPconshdlrPresolve(), SCIPconshdlrPropagate(), SCIPconshdlrSeparateLP(), SCIPconshdlrSeparateSol(), SCIPconsResolvePropagation(), SCIPcutpoolSeparate(), SCIPcutselExit(), SCIPcutselExitsol(), SCIPcutselInit(), SCIPcutselInitsol(), SCIPcutselsSelect(), SCIPeventhdlrExec(), SCIPeventhdlrExit(), SCIPeventhdlrExitsol(), SCIPeventhdlrInit(), SCIPeventhdlrInitsol(), SCIPexprhdlrEstimateExpr(), SCIPexprhdlrInitEstimatesExpr(), SCIPexprhdlrIntEvalExpr(), SCIPexprhdlrReversePropExpr(), SCIPexprhdlrSimplifyExpr(), SCIPheurExec(), SCIPheurExit(), SCIPheurExitsol(), SCIPheurInit(), SCIPheurInitsol(), SCIPiisGenerate(), SCIPlpExactSolveAndEval(), SCIPnlpiAddConstraints(), SCIPnlpiAddVars(), SCIPnlpiChgConsSides(), SCIPnlpiChgExpr(), SCIPnlpiChgLinearCoefs(), SCIPnlpiChgObjConstant(), SCIPnlpiChgVarBounds(), SCIPnlpiCreateProblem(), SCIPnlpiDelConsSet(), SCIPnlpiDelVarSet(), SCIPnlpiFreeProblem(), SCIPnlpiSetObjective(), SCIPnodeselExit(), SCIPnodeselExitsol(), SCIPnodeselInit(), SCIPnodeselInitsol(), SCIPnodeselSelect(), SCIPpresolExec(), SCIPpresolExit(), SCIPpresolExitpre(), SCIPpresolInit(), SCIPpresolInitpre(), SCIPpresolve(), SCIPpricerExit(), SCIPpricerExitsol(), SCIPpricerFarkas(), SCIPpricerInit(), SCIPpricerInitsol(), SCIPpricerRedcost(), SCIPpricestoreAddProbVars(), SCIPpropExec(), SCIPpropExit(), SCIPpropExitpre(), SCIPpropExitsol(), SCIPpropInit(), SCIPpropInitpre(), SCIPpropInitsol(), SCIPpropPresol(), SCIPpropResolvePropagation(), SCIPreaderRead(), SCIPrelaxExec(), SCIPrelaxExit(), SCIPrelaxExitsol(), SCIPrelaxInit(), SCIPrelaxInitsol(), SCIPrunBoundHeuristic(), SCIPsepaExecLP(), SCIPsepaExecSol(), SCIPsepaExit(), SCIPsepaExitsol(), SCIPsepaInit(), SCIPsepaInitsol(), SCIPsolve(), SCIPsolveCIP(), SCIPsolveConcurrent(), SCIPstartClock(), SCIPstartSolvingTime(), and SCIPtryStrongbranchLPSol().
| void SCIPclockStop | ( | SCIP_CLOCK * | clck, |
| SCIP_SET * | set ) |
stops measurement of time in the given clock
| clck | clock timer |
| set | global SCIP settings |
Definition at line 360 of file clock.c.
References assert(), SCIP_Clock::clocktype, SCIP_Clock::enabled, SCIP_Clock::nruns, NULL, SCIP_CLOCKTYPE_CPU, SCIP_CLOCKTYPE_DEFAULT, SCIP_CLOCKTYPE_WALL, SCIPABORT, SCIPclockStop(), SCIPdebugMessage, and SCIPerrorMessage.
Referenced by addCurrentSolution(), addNode(), conflictAddConflictCons(), conflictAnalyzeBoundexceedingLP(), conflictAnalyzeInfeasibleLP(), conflictAnalyzeLP(), doCopy(), lpBarrier(), lpDualSimplex(), lpLexDualSimplex(), lpPrimalSimplex(), nlpSolve(), nodeRepropagate(), performStrongbranchWithPropagation(), presolve(), SCIPbenderscutExec(), SCIPbenderscutExit(), SCIPbenderscutExitsol(), SCIPbenderscutInit(), SCIPbenderscutInitsol(), SCIPbendersExec(), SCIPbendersExit(), SCIPbendersExitpre(), SCIPbendersExitsol(), SCIPbendersInit(), SCIPbendersInitpre(), SCIPbendersInitsol(), SCIPbranchruleExecExternSol(), SCIPbranchruleExecLPSol(), SCIPbranchruleExecPseudoSol(), SCIPbranchruleExit(), SCIPbranchruleExitsol(), SCIPbranchruleInit(), SCIPbranchruleInitsol(), SCIPclockStop(), SCIPcolGetStrongbranch(), SCIPcolGetStrongbranches(), SCIPcomprExec(), SCIPcomprExit(), SCIPcomprInit(), SCIPconflictAnalyze(), SCIPconflictAnalyzePseudo(), SCIPconflictAnalyzeResolution(), SCIPconflictAnalyzeStrongbranch(), SCIPconflicthdlrExec(), SCIPconflicthdlrExit(), SCIPconflicthdlrExitsol(), SCIPconflicthdlrInit(), SCIPconflicthdlrInitsol(), SCIPconshdlrCheck(), SCIPconshdlrEnforceLPSol(), SCIPconshdlrEnforcePseudoSol(), SCIPconshdlrEnforceRelaxSol(), SCIPconshdlrExit(), SCIPconshdlrExitpre(), SCIPconshdlrExitsol(), SCIPconshdlrInit(), SCIPconshdlrInitLP(), SCIPconshdlrInitpre(), SCIPconshdlrInitsol(), SCIPconshdlrPresolve(), SCIPconshdlrPropagate(), SCIPconshdlrSeparateLP(), SCIPconshdlrSeparateSol(), SCIPconsResolvePropagation(), SCIPcutpoolSeparate(), SCIPcutselExit(), SCIPcutselExitsol(), SCIPcutselInit(), SCIPcutselInitsol(), SCIPcutselsSelect(), SCIPeventhdlrExec(), SCIPeventhdlrExit(), SCIPeventhdlrExitsol(), SCIPeventhdlrInit(), SCIPeventhdlrInitsol(), SCIPexprhdlrEstimateExpr(), SCIPexprhdlrInitEstimatesExpr(), SCIPexprhdlrIntEvalExpr(), SCIPexprhdlrReversePropExpr(), SCIPexprhdlrSimplifyExpr(), SCIPheurExec(), SCIPheurExit(), SCIPheurExitsol(), SCIPheurInit(), SCIPheurInitsol(), SCIPiisGenerate(), SCIPlpExactSolveAndEval(), SCIPnlpiAddConstraints(), SCIPnlpiAddVars(), SCIPnlpiChgConsSides(), SCIPnlpiChgExpr(), SCIPnlpiChgLinearCoefs(), SCIPnlpiChgObjConstant(), SCIPnlpiChgVarBounds(), SCIPnlpiCreateProblem(), SCIPnlpiDelConsSet(), SCIPnlpiDelVarSet(), SCIPnlpiFreeProblem(), SCIPnlpiSetObjective(), SCIPnodeselExit(), SCIPnodeselExitsol(), SCIPnodeselInit(), SCIPnodeselInitsol(), SCIPnodeselSelect(), SCIPpresolExec(), SCIPpresolExit(), SCIPpresolExitpre(), SCIPpresolInit(), SCIPpresolInitpre(), SCIPpresolve(), SCIPpricerExit(), SCIPpricerExitsol(), SCIPpricerFarkas(), SCIPpricerInit(), SCIPpricerInitsol(), SCIPpricerRedcost(), SCIPpricestoreAddProbVars(), SCIPpropExec(), SCIPpropExit(), SCIPpropExitpre(), SCIPpropExitsol(), SCIPpropInit(), SCIPpropInitpre(), SCIPpropInitsol(), SCIPpropPresol(), SCIPpropResolvePropagation(), SCIPreaderRead(), SCIPrelaxExec(), SCIPrelaxExit(), SCIPrelaxExitsol(), SCIPrelaxInit(), SCIPrelaxInitsol(), SCIPrunBoundHeuristic(), SCIPsepaExecLP(), SCIPsepaExecSol(), SCIPsepaExit(), SCIPsepaExitsol(), SCIPsepaInit(), SCIPsepaInitsol(), SCIPsolve(), SCIPsolveCIP(), SCIPsolveConcurrent(), SCIPstopClock(), SCIPstopSolvingTime(), and SCIPtryStrongbranchLPSol().
| SCIP_Bool SCIPclockIsRunning | ( | SCIP_CLOCK * | clck | ) |
returns whether the clock is currently running
| clck | clock timer |
Definition at line 427 of file clock.c.
References assert(), SCIP_Clock::nruns, NULL, SCIP_Bool, and SCIPclockIsRunning().
Referenced by nodeRepropagate(), SCIPclockIsRunning(), and SCIPreaderRead().
| SCIP_Real SCIPclockGetTime | ( | SCIP_CLOCK * | clck | ) |
gets the used time of this clock in seconds
| clck | clock timer |
Definition at line 438 of file clock.c.
References assert(), SCIP_Clock::clocktype, cputime2sec(), SCIP_Clock::data, SCIP_Clock::enabled, EPSN, SCIP_Clock::lasttime, SCIP_Clock::nruns, NULL, result, SCIP_CLOCKTYPE_CPU, SCIP_CLOCKTYPE_DEFAULT, SCIP_CLOCKTYPE_WALL, SCIP_Real, SCIPABORT, SCIPclockGetTime(), SCIPdebugMessage, SCIPerrorMessage, SCIP_Clock::usedefault, and walltime2sec().
Referenced by applyVbounds(), clockSetType(), createSubscipIIS(), displayRelevantStats(), doCopy(), lpAlgorithm(), lpBarrier(), lpDualSimplex(), lpExactFlushAndSolve(), lpLexDualSimplex(), lpPrimalSimplex(), printTime(), SCIPbenderscutGetSetupTime(), SCIPbenderscutGetTime(), SCIPbendersGetSetupTime(), SCIPbendersGetTime(), SCIPbranchruleGetSetupTime(), SCIPbranchruleGetTime(), SCIPclockGetTime(), SCIPcollectHeuristicStatistics(), SCIPcollectLPStatistics(), SCIPcollectNLPStatistics(), SCIPcollectTimingStatistics(), SCIPcollectTreeStatistics(), SCIPcomprGetSetupTime(), SCIPcomprGetTime(), SCIPconcsolverGetSyncTime(), SCIPconflictGetBoundexceedingLPTime(), SCIPconflictGetGlobalApplTime(), SCIPconflictGetInfeasibleLPTime(), SCIPconflictGetPropTime(), SCIPconflictGetPseudoTime(), SCIPconflictGetResTime(), SCIPconflictGetStrongbranchTime(), SCIPconflicthdlrGetSetupTime(), SCIPconflicthdlrGetTime(), SCIPconshdlrGetCheckTime(), SCIPconshdlrGetEnfoLPTime(), SCIPconshdlrGetEnfoPSTime(), SCIPconshdlrGetEnfoRelaxTime(), SCIPconshdlrGetPresolTime(), SCIPconshdlrGetPropTime(), SCIPconshdlrGetRespropTime(), SCIPconshdlrGetSepaTime(), SCIPconshdlrGetSetupTime(), SCIPconshdlrGetStrongBranchPropTime(), SCIPcutpoolGetTime(), SCIPcutselGetSetupTime(), SCIPcutselGetTime(), SCIPeventhdlrGetSetupTime(), SCIPeventhdlrGetTime(), SCIPexprhdlrGetEstimateTime(), SCIPexprhdlrGetIntevalTime(), SCIPexprhdlrGetReversepropTime(), SCIPexprhdlrGetSimplifyTime(), SCIPgetClockTime(), SCIPgetPresolvingTime(), SCIPgetSolvingTime(), SCIPgetTotalTime(), SCIPheurGetSetupTime(), SCIPheurGetTime(), SCIPiisfinderGetTime(), SCIPiisGenerate(), SCIPiisGetTime(), SCIPlpExactSolveAndEval(), SCIPnlpiGetProblemTime(), SCIPnlpiMergeStatistics(), SCIPnlpiSolve(), SCIPnodeselGetSetupTime(), SCIPnodeselGetTime(), SCIPpresolGetSetupTime(), SCIPpresolGetTime(), SCIPpresolve(), SCIPpricerGetSetupTime(), SCIPpricerGetTime(), SCIPpricestoreGetProbPricingTime(), SCIPprintHeuristicStatistics(), SCIPprintLPStatistics(), SCIPprintNLPStatistics(), SCIPprintReoptStatistics(), SCIPprintTimingStatistics(), SCIPprintTreeStatistics(), SCIPpropGetPresolTime(), SCIPpropGetRespropTime(), SCIPpropGetSetupTime(), SCIPpropGetStrongBranchPropTime(), SCIPpropGetTime(), SCIPreaderGetReadingTime(), SCIPreaderRead(), SCIPrelaxExec(), SCIPrelaxGetSetupTime(), SCIPrelaxGetTime(), SCIPreoptGetSavingtime(), SCIPsepaGetSetupTime(), SCIPsepaGetTime(), SCIPsolveIsStopped(), SCIPstatUpdatePrimalDualIntegrals(), solStamp(), and solveNodeInitialLP().
| SCIP_Real SCIPclockGetLastTime | ( | SCIP_CLOCK * | clck | ) |
gets the last validated time of this clock in seconds
| clck | clock timer |
Definition at line 529 of file clock.c.
References assert(), SCIP_Clock::lasttime, NULL, SCIP_Real, and SCIPclockGetLastTime().
Referenced by SCIPclockGetLastTime(), SCIPsolveIsStopped(), and solStamp().
| void SCIPclockSetTime | ( | SCIP_CLOCK * | clck, |
| SCIP_Real | sec ) |
sets the used time of this clock in seconds
| clck | clock timer |
| sec | time in seconds to set the clock's timer to |
Definition at line 539 of file clock.c.
References assert(), clockSetType(), SCIP_Clock::clocktype, SCIP_Clock::data, SCIP_Clock::nruns, NULL, SCIP_CLOCKTYPE_CPU, SCIP_CLOCKTYPE_DEFAULT, SCIP_CLOCKTYPE_WALL, SCIP_Real, SCIPABORT, SCIPclockSetTime(), SCIPdebugMessage, SCIPerrorMessage, sec2cputime(), sec2walltime(), and SCIP_Clock::usedefault.
Referenced by clockSetType(), SCIPclockSetTime(), SCIPcutpoolSetTime(), SCIPnlpiMergeStatistics(), SCIPreaderRead(), SCIPreadProb(), and SCIPsetClockTime().
| SCIP_Real SCIPclockGetTimeOfDay | ( | void | ) |
gets current time of day in seconds (standard time zone)
Definition at line 621 of file clock.c.
References NULL, SCIP_Real, and SCIPclockGetTimeOfDay().
Referenced by SCIPclockGetTimeOfDay(), and SCIPgetTimeOfDay().