equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * Header for gettime.cpp. |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef _GETTIME_H_ |
|
21 #define _GETTIME_H_ |
|
22 |
|
23 |
|
24 /* |
|
25 * Includes |
|
26 */ |
|
27 |
|
28 #include "nrctyp32.h" |
|
29 #include "thdwrap.h" |
|
30 |
|
31 |
|
32 /* |
|
33 * Definitions |
|
34 */ |
|
35 |
|
36 /* Number of output ticks (from gtGetTime) per second */ |
|
37 #ifndef GT_NUM_OUT_TICKS_PER_SEC |
|
38 #define GT_NUM_OUT_TICKS_PER_SEC 10000 |
|
39 #endif |
|
40 |
|
41 /* Maximum value returned by gtGetTime */ |
|
42 #define GT_TIME_MAX 0xffffffff |
|
43 |
|
44 /* If TMR_DS not defined, define it as nothing */ |
|
45 #ifndef TMR_DS |
|
46 #ifdef __PSISOFT32__ |
|
47 #define TMR_DS |
|
48 #else |
|
49 #define TMR_DS |
|
50 #endif |
|
51 #endif |
|
52 |
|
53 /* |
|
54 * Function prototypes |
|
55 */ |
|
56 |
|
57 |
|
58 TMR_DS void gtInitialize( void ); |
|
59 |
|
60 //TMR_DS TInt gtGetTime( array_t *array ); |
|
61 TMR_DS unsigned int gtGetTime( void ); |
|
62 |
|
63 |
|
64 #endif |
|
65 // End of File |
|