SCIP-SDP  4.0.0
sdpiclock.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of SCIPSDP - a solving framework for mixed-integer */
4 /* semidefinite programs based on SCIP. */
5 /* */
6 /* Copyright (C) 2011-2013 Discrete Optimization, TU Darmstadt */
7 /* EDOM, FAU Erlangen-Nürnberg */
8 /* 2014-2021 Discrete Optimization, TU Darmstadt */
9 /* */
10 /* */
11 /* This program is free software; you can redistribute it and/or */
12 /* modify it under the terms of the GNU Lesser General Public License */
13 /* as published by the Free Software Foundation; either version 3 */
14 /* of the License, or (at your option) any later version. */
15 /* */
16 /* This program is distributed in the hope that it will be useful, */
17 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
18 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
19 /* GNU Lesser General Public License for more details. */
20 /* */
21 /* You should have received a copy of the GNU Lesser General Public License */
22 /* along with this program; if not, write to the Free Software */
23 /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.*/
24 /* */
25 /* */
26 /* Based on SCIP - Solving Constraint Integer Programs */
27 /* Copyright (C) 2002-2021 Zuse Institute Berlin */
28 /* SCIP is distributed under the terms of the SCIP Academic Licence, */
29 /* see file COPYING in the SCIP distribution. */
30 /* */
31 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
32 
39 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
40 
41 #ifndef __SDPICLOCK_H__
42 #define __SDPICLOCK_H__
43 
44 
45 #include "scip/def.h"
46 #include "scip/type_retcode.h"
47 #include "sdpi/type_sdpiclock.h"
48 
49 #ifdef __cplusplus
50 extern "C" {
51 #endif
52 
54 SCIP_RETCODE SDPIclockCreate(
55  SDPI_CLOCK** clck
56  );
57 
59 void SDPIclockFree(
60  SDPI_CLOCK** clck
61  );
62 
64 void SDPIclockSetType(
65  SDPI_CLOCK* clck,
66  SDPI_CLOCKTYPE clocktype
67  );
68 
70 void SDPIclockStart(
71  SDPI_CLOCK* clck
72  );
73 
75 void SDPIclockStop(
76  SDPI_CLOCK* clck
77  );
78 
80 SCIP_Real SDPIclockGetTime(
81  SDPI_CLOCK* clck
82  );
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 #endif
enum SDPI_ClockType SDPI_CLOCKTYPE
void SDPIclockSetType(SDPI_CLOCK *clck, SDPI_CLOCKTYPE clocktype)
Definition: sdpiclock.c:121
SCIP_RETCODE SDPIclockCreate(SDPI_CLOCK **clck)
Definition: sdpiclock.c:96
void SDPIclockStop(SDPI_CLOCK *clck)
Definition: sdpiclock.c:192
void SDPIclockStart(SDPI_CLOCK *clck)
Definition: sdpiclock.c:134
SCIP_Real SDPIclockGetTime(SDPI_CLOCK *clck)
Definition: sdpiclock.c:250
type definitions for clocks and timing issues
void SDPIclockFree(SDPI_CLOCK **clck)
Definition: sdpiclock.c:111