clock.c
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 140 SCIPdebugMessage("switched clock type to %d (%g seconds -> %g seconds)\n", newtype, sec, SCIPclockGetTime(clck)); 145 /** if the clock uses the default clock type and the default changed, converts the clock timer to the new type */ 205 SCIPdebugMessage("resetting clock %p of type %d (usedefault=%u)\n", (void*)clck, clck->clocktype, clck->usedefault); 231 SCIPdebugMessage("enabling clock %p of type %d (usedefault=%u)\n", (void*)clck, clck->clocktype, clck->usedefault); 243 SCIPdebugMessage("disabling clock %p of type %d (usedefault=%u)\n", (void*)clck, clck->clocktype, clck->usedefault); 304 SCIPdebugMessage("starting clock %p (type %d, usedefault=%u)\n", (void*)clck, clck->clocktype, clck->usedefault); 375 SCIPdebugMessage("stopping clock %p (type %d, usedefault=%u)\n", (void*)clck, clck->clocktype, clck->usedefault); 476 result = cputime2sec(clck->data.cpuclock.user + usertime.dwHighDateTime * 42950 + usertime.dwLowDateTime / 100000L); 528 /* if the clock type is not yet set, set it to an arbitrary value to be able to store the number */ 560 /* the clock is currently running: we have to subtract the current time from the new timer value */
void SCIPclockSetType(SCIP_CLOCK *clck, SCIP_CLOCKTYPE clocktype) Definition: clock.c:264 internal methods for clocks and timing issues static void clockSetType(SCIP_CLOCK *clck, SCIP_CLOCKTYPE newtype) Definition: clock.c:116 void SCIPclockEnableOrDisable(SCIP_CLOCK *clck, SCIP_Bool enable) Definition: clock.c:250 union SCIP_Clock::@6 data Definition: struct_set.h:56 static void sec2walltime(SCIP_Real sec, long *wallsec, long *wallusec) Definition: clock.c:100 Definition: type_clock.h:34 Definition: type_retcode.h:33 internal methods for global SCIP settings Definition: type_clock.h:35 SCIP_RETCODE SCIPclockCreate(SCIP_CLOCK **clck, SCIP_CLOCKTYPE clocktype) Definition: clock.c:160 static void clockUpdateDefaultType(SCIP_CLOCK *clck, SCIP_CLOCKTYPE defaultclocktype) Definition: clock.c:147 datastructures for clocks and timing issues public methods for message output common defines and data types used in all packages of SCIP Definition: struct_clock.h:54 Definition: type_clock.h:36 memory allocation routines |