ROFL-pipeline  v0.6.0dev
timing.h
Go to the documentation of this file.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 
5 #ifndef __PLATFORM_TIME_H__
6 #define __PLATFORM_TIME_H__
7 
17 struct timeval;
18 
19 //C++ extern C
20 ROFL_BEGIN_DECLS
21 
22 /* MUTEX operations */
23 
31 int platform_gettimeofday(struct timeval* tval);
32 
33 //C++ extern C
34 ROFL_END_DECLS
35 
36 
37 #endif //__PLATFORM_TIME_H__
ROFL_BEGIN_DECLS int platform_gettimeofday(struct timeval *tval)
Gets the system time.