Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
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 email to 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
32
enum
SCIP_ClockType
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_WallClock
Definition:
struct_clock.h:48
SCIP_ClockType
SCIP_ClockType
Definition:
type_clock.h:32
SCIP_CLOCKTYPE
enum SCIP_ClockType SCIP_CLOCKTYPE
Definition:
type_clock.h:38
SCIP_CPUClock
Definition:
struct_clock.h:42
SCIP_CLOCKTYPE_DEFAULT
Definition:
type_clock.h:34
SCIP_CLOCKTYPE_CPU
Definition:
type_clock.h:35
def.h
common defines and data types used in all packages of SCIP
SCIP_Clock
Definition:
struct_clock.h:55
SCIP_CLOCKTYPE_WALL
Definition:
type_clock.h:36