Scippy

SCIP

Solving Constraint Integer Programs

type_clock.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2018 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not visit scip.zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file type_clock.h
17  * @brief type definitions for clocks and timing issues
18  * @author Tobias Achterberg
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_TYPE_CLOCK_H__
24 #define __SCIP_TYPE_CLOCK_H__
25 
26 #include "scip/def.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
33 {
34  SCIP_CLOCKTYPE_DEFAULT = 0, /**< use default clock type */
35  SCIP_CLOCKTYPE_CPU = 1, /**< use CPU clock */
36  SCIP_CLOCKTYPE_WALL = 2 /**< use wall clock */
37 };
38 typedef enum SCIP_ClockType SCIP_CLOCKTYPE; /**< clock type to use */
39 
40 typedef struct SCIP_Clock SCIP_CLOCK; /**< clock timer */
41 typedef struct SCIP_CPUClock SCIP_CPUCLOCK; /**< CPU clock counter */
42 typedef struct SCIP_WallClock SCIP_WALLCLOCK; /**< wall clock counter */
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif
SCIP_ClockType
Definition: type_clock.h:32
enum SCIP_ClockType SCIP_CLOCKTYPE
Definition: type_clock.h:38
common defines and data types used in all packages of SCIP