fw4spl
HiResClock.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWCORE_HIRESCLOCK_HPP__
8 #define __FWCORE_HIRESCLOCK_HPP__
9 
10 #include "fwCore/config.hpp"
11 
12 namespace fwCore
13 {
14 
15 
23 namespace HiResClock
24 {
25 
29 typedef double HiResClockType;
30 
31 
35 FWCORE_API HiResClockType getTimeInMicroSec();
36 
40 FWCORE_API HiResClockType getTimeInMilliSec();
41 
45 FWCORE_API HiResClockType getTimeInSec();
46 
47 
48 } //namespace HiResClock
49 
50 } //namespace fwCore
51 
52 #endif // __FWCORE_HIRESCLOCK_HPP__
This namespace fwCore provides common foundations for FW4SPL.
Definition: BaseObject.hpp:16
FWCORE_API HiResClockType getTimeInMilliSec()
Definition: HiResClock.cpp:46
double HiResClockType
Type returned by HiResClock Functions.
Definition: HiResClock.hpp:29
FWCORE_API HiResClockType getTimeInMicroSec()
Definition: HiResClock.cpp:25
FWCORE_API HiResClockType getTimeInSec()
Definition: HiResClock.cpp:52