iscc: also disallow source operation when --no-io is specified
[barvinok.git] / zsolve / cputime.h
blobc5a9033312a0188383057ce6a5a1ef0beec09054
1 /*
2 4ti2 -- A software package for algebraic, geometric and combinatorial
3 problems on linear spaces.
5 Copyright (C) 2006 4ti2 team.
6 Main author(s): Matthias Walter.
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 #ifndef _CPUTIME_H
24 #define _CPUTIME_H
26 #include <stdio.h>
28 typedef double CPUTime;
30 CPUTime getCPUTime();
31 /* return the cumulative CPU ressource usage in seconds */
33 void fprintCPUTime(FILE *, CPUTime);
34 /* prints cputime to a stream, using seconds, minutes, hours or days. (stream, time) */
36 void printCPUTime(CPUTime);
37 /* as above, but stream = stdout */
39 #endif