-
Notifications
You must be signed in to change notification settings - Fork 23
/
timerh
34 lines (33 loc) · 1.8 KB
/
timerh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/****************************************************************************
* ArtraCFD *
* <By Huangrui Mo> *
* Copyright (C) Huangrui Mo <[email protected]> *
* This file is part of ArtraCFD. *
* ArtraCFD is free software: you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
****************************************************************************/
/****************************************************************************
* Header File Guards to Avoid Interdependence
****************************************************************************/
#ifndef ARTRACFD_TIMER_H_ /* if undefined */
#define ARTRACFD_TIMER_H_ /* set a unique marker */
/****************************************************************************
* Required Header Files
****************************************************************************/
/****************************************************************************
* Public Functions Declaration
****************************************************************************/
/*
* Get real time
*
* Function
* Return the real time in seconds or -1.0 if an error occurred.
* Time is measured since an arbitrary and OS-dependent start time.
* The returned real time is only useful for computing an elapsed time
* between two calls to this function.
*/
extern double GetTime(void);
#endif
/* a good practice: end file with a newline */