methods for timing
Functions | |
SCIP_Real | SCIPgetTimeOfDay (SCIP *scip) |
SCIP_RETCODE | SCIPcreateClock (SCIP *scip, SCIP_CLOCK **clck) |
SCIP_RETCODE | SCIPcreateCPUClock (SCIP *scip, SCIP_CLOCK **clck) |
SCIP_RETCODE | SCIPcreateWallClock (SCIP *scip, SCIP_CLOCK **clck) |
SCIP_RETCODE | SCIPfreeClock (SCIP *scip, SCIP_CLOCK **clck) |
SCIP_RETCODE | SCIPresetClock (SCIP *scip, SCIP_CLOCK *clck) |
SCIP_RETCODE | SCIPstartClock (SCIP *scip, SCIP_CLOCK *clck) |
SCIP_RETCODE | SCIPstopClock (SCIP *scip, SCIP_CLOCK *clck) |
SCIP_RETCODE | SCIPenableOrDisableStatisticTiming (SCIP *scip) |
SCIP_RETCODE | SCIPstartSolvingTime (SCIP *scip) |
SCIP_RETCODE | SCIPstopSolvingTime (SCIP *scip) |
SCIP_Real | SCIPgetClockTime (SCIP *scip, SCIP_CLOCK *clck) |
SCIP_RETCODE | SCIPsetClockTime (SCIP *scip, SCIP_CLOCK *clck, SCIP_Real sec) |
SCIP_Real | SCIPgetTotalTime (SCIP *scip) |
SCIP_Real | SCIPgetSolvingTime (SCIP *scip) |
SCIP_Real | SCIPgetReadingTime (SCIP *scip) |
SCIP_Real | SCIPgetPresolvingTime (SCIP *scip) |
SCIP_Real | SCIPgetFirstLPTime (SCIP *scip) |
gets current time of day in seconds (standard time zone)
scip | SCIP data structure |
Definition at line 45999 of file scip.c.
References SCIPclockGetTimeOfDay().
SCIP_RETCODE SCIPcreateClock | ( | SCIP * | scip, |
SCIP_CLOCK ** | clck | ||
) |
creates a clock using the default clock type
scip | SCIP data structure |
clck | pointer to clock timer |
Definition at line 46013 of file scip.c.
References SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_OKAY, and SCIPclockCreate().
Referenced by alnsIncludeNeighborhood(), applyVbounds(), SCIPapplyUndercover(), and SCIPincludeBranchruleCloud().
SCIP_RETCODE SCIPcreateCPUClock | ( | SCIP * | scip, |
SCIP_CLOCK ** | clck | ||
) |
creates a clock counting the CPU user seconds
scip | SCIP data structure |
clck | pointer to clock timer |
Definition at line 46030 of file scip.c.
References SCIP_CALL, SCIP_CLOCKTYPE_CPU, SCIP_OKAY, and SCIPclockCreate().
SCIP_RETCODE SCIPcreateWallClock | ( | SCIP * | scip, |
SCIP_CLOCK ** | clck | ||
) |
creates a clock counting the wall clock seconds
scip | SCIP data structure |
clck | pointer to clock timer |
Definition at line 46047 of file scip.c.
References SCIP_CALL, SCIP_CLOCKTYPE_WALL, SCIP_OKAY, and SCIPclockCreate().
Referenced by SCIPconcsolverCreateInstance(), and SCIPcreateConcurrent().
SCIP_RETCODE SCIPfreeClock | ( | SCIP * | scip, |
SCIP_CLOCK ** | clck | ||
) |
frees a clock
scip | SCIP data structure |
clck | pointer to clock timer |
Definition at line 46064 of file scip.c.
References SCIP_OKAY, and SCIPclockFree().
Referenced by alnsFreeNeighborhood(), applyVbounds(), SCIP_DECL_BRANCHFREE(), SCIPapplyUndercover(), SCIPconcsolverDestroyInstance(), and SCIPfreeConcurrent().
SCIP_RETCODE SCIPresetClock | ( | SCIP * | scip, |
SCIP_CLOCK * | clck | ||
) |
resets the time measurement of a clock to zero and completely stops the clock
scip | SCIP data structure |
clck | clock timer |
Definition at line 46081 of file scip.c.
References SCIP_OKAY, and SCIPclockReset().
Referenced by neighborhoodStatsReset(), SCIP_DECL_BRANCHINIT(), SCIPincrementConcurrentTime(), and updateTimelimit().
SCIP_RETCODE SCIPstartClock | ( | SCIP * | scip, |
SCIP_CLOCK * | clck | ||
) |
starts the time measurement of a clock
scip | SCIP data structure |
clck | clock timer |
Definition at line 46098 of file scip.c.
References SCIP_OKAY, SCIPclockStart(), and Scip::set.
Referenced by applyVbounds(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_HEUREXEC(), SCIPapplyUndercover(), SCIPconcsolverSync(), SCIPcreateConcurrent(), SCIPincrementConcurrentTime(), and updateTimelimit().
SCIP_RETCODE SCIPstopClock | ( | SCIP * | scip, |
SCIP_CLOCK * | clck | ||
) |
stops the time measurement of a clock
scip | SCIP data structure |
clck | clock timer |
Definition at line 46115 of file scip.c.
References SCIP_OKAY, SCIPclockStop(), and Scip::set.
Referenced by applyVbounds(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_HEUREXEC(), and SCIPconcsolverSync().
SCIP_RETCODE SCIPenableOrDisableStatisticTiming | ( | SCIP * | scip | ) |
enables or disables all statistic clocks of SCIP concerning plugin statistics, LP execution time, strong branching time, etc.
Method reads the value of the parameter timing/statistictiming. In order to disable statistic timing, set the parameter to FALSE.
See SCIP_STAGE for a complete list of all possible solving stages.
enables or disables all statistic clocks of SCIP concerning plugin statistics, LP execution time, strong branching time, etc.
Method reads the value of the parameter timing/statistictiming. In order to disable statistic timing, set the parameter to FALSE.
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 46155 of file scip.c.
References checkStage(), Scip::conflict, FALSE, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_INIT, SCIP_STAGE_TRANSFORMING, SCIPconflictEnableOrDisableClocks(), SCIPsetEnableOrDisablePluginClocks(), SCIPstatEnableOrDisableStatClocks(), Scip::set, SCIP_Set::stage, Scip::stat, SCIP_Set::time_statistictiming, and TRUE.
SCIP_RETCODE SCIPstartSolvingTime | ( | SCIP * | scip | ) |
starts the current solving time
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 46198 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), Scip::set, SCIP_Stat::solvingtime, SCIP_Stat::solvingtimeoverall, Scip::stat, and TRUE.
SCIP_RETCODE SCIPstopSolvingTime | ( | SCIP * | scip | ) |
stops the current solving time in seconds
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 46231 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPclockStop(), Scip::set, SCIP_Stat::solvingtime, SCIP_Stat::solvingtimeoverall, Scip::stat, and TRUE.
SCIP_Real SCIPgetClockTime | ( | SCIP * | scip, |
SCIP_CLOCK * | clck | ||
) |
gets the measured time of a clock in seconds
scip | SCIP data structure |
clck | clock timer |
Definition at line 46247 of file scip.c.
References SCIPclockGetTime().
Referenced by printNeighborhoodStatistics(), SCIP_DECL_BRANCHFREE(), SCIPapplyUndercover(), SCIPcopyConcurrentSolvingStats(), SCIPincrementConcurrentTime(), and updateTimelimit().
SCIP_RETCODE SCIPsetClockTime | ( | SCIP * | scip, |
SCIP_CLOCK * | clck, | ||
SCIP_Real | sec | ||
) |
sets the measured time of a clock to the given value in seconds
scip | SCIP data structure |
clck | clock timer |
sec | time in seconds to set the clock's timer to |
Definition at line 46262 of file scip.c.
References SCIP_OKAY, and SCIPclockSetTime().
Referenced by SCIPcopyConcurrentSolvingStats().
gets the current total SCIP time in seconds, possibly accumulated over several problems.
scip | SCIP data structure |
Definition at line 46279 of file scip.c.
References SCIPclockGetTime(), and Scip::totaltime.
gets the current solving time in seconds
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 46306 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIPclockGetTime(), SCIP_Stat::solvingtime, Scip::stat, and TRUE.
Referenced by applyBoundHeur(), applyHeur(), applyProbing(), applyRepair(), applyVbounds(), computeInteriorPoint(), copySofttimelimit(), determineLimits(), determineSymmetry(), doSeachEcAggr(), getCopyTimelimit(), getTimeLeft(), getX(), presolve(), presolveRound(), SCIP_DECL_CONCSOLVEREXEC(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyProximity(), SCIPprintSolutionStatistics(), SCIPsolve(), separateCuts(), setSubscipLimits(), setupAndSolve(), setupAndSolveSubscip(), solveAndEvalSubscip(), solveComponent(), solveIndependentCons(), solveNlp(), solveSubscip(), subscipdataCopySubscip(), testCriteria(), and transitionPhase3().
gets the current reading time in seconds
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 46333 of file scip.c.
References checkStage(), FALSE, SCIP_Set::nreaders, SCIP_Set::readers, SCIP_CALL_ABORT, SCIP_Real, SCIPisNegative(), SCIPreaderGetReadingTime(), Scip::set, and TRUE.
Referenced by SCIPprintTimingStatistics(), and SCIPreadProb().
gets the current presolving time in seconds
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 46370 of file scip.c.
References checkStage(), FALSE, SCIP_Stat::presolvingtime, SCIP_CALL_ABORT, SCIPclockGetTime(), Scip::stat, and TRUE.
Referenced by applyRepair(), SCIPapplyProximity(), and solveSubscipLpface().
gets the time need to solve the first LP in the root node
See SCIP_STAGE for a complete list of all possible solving stages.
scip | SCIP data structure |
Definition at line 46396 of file scip.c.
References checkStage(), FALSE, SCIP_Stat::firstlptime, SCIP_CALL_ABORT, Scip::stat, and TRUE.
Referenced by SCIP_DECL_SEPAEXECLP(), and SCIPprintRootStatistics().