equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #if !defined(__PROFILE_H__) |
|
17 #define __PROFILE_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 #if defined(_DEBUG) // Alter to this to turn on/off profiling in non-debug/debug builds |
|
22 #define _PROFILING |
|
23 #else |
|
24 //#define _PROFILING |
|
25 #endif |
|
26 |
|
27 #if defined(_PROFILING) |
|
28 |
|
29 #define __START_PROFILE(n) |
|
30 #define __END_PROFILE(n) |
|
31 |
|
32 #else |
|
33 |
|
34 #define __START_PROFILE(n) |
|
35 #define __END_PROFILE(n) |
|
36 |
|
37 #endif |
|
38 |
|
39 #endif |