tizen 2.4 release
[kernel/linux-3.0.git] / drivers / gpu / arm / mali400 / r4p0_rel0 / timestamp-default / mali_timestamp.h
1 /*
2  * Copyright (C) 2010-2011 ARM Limited. All rights reserved.
3  * 
4  * This program is free software and is provided to you under the terms of the GNU General Public License version 2
5  * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
6  * 
7  * A copy of the licence is included with the program, and can also be obtained from Free Software
8  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
9  */
10
11 #ifndef __MALI_TIMESTAMP_H__
12 #define __MALI_TIMESTAMP_H__
13
14 #include "mali_osk.h"
15
16 MALI_STATIC_INLINE _mali_osk_errcode_t _mali_timestamp_reset(void)
17 {
18         return _MALI_OSK_ERR_OK;
19 }
20
21 MALI_STATIC_INLINE u64 _mali_timestamp_get(void)
22 {
23         return _mali_osk_time_get_ns();
24 }
25
26 #endif /* __MALI_TIMESTAMP_H__ */