equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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 * |
|
14 * Description: Defines macros to log performance related details |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef AI3PERF_H |
|
20 #define AI3PERF_H |
|
21 #include "ai3.hrh" |
|
22 #ifdef AI3_DEBUG_PERFORMANCE |
|
23 #include "ai3performance.h" |
|
24 #define AI3_PERF_START(p1,p2) CAi3Perf::TPerfData* p1 = CAi3Perf::StartTestCase(_L(p2)); |
|
25 #define AI3_PERF_STOP(p1,p2) CAi3Perf::StopTestCase(p1,_L(p2)); |
|
26 #else |
|
27 #define AI3_PERF_START(p1,p2) |
|
28 #define AI3_PERF_STOP(p1,p2) |
|
29 #endif |
|
30 |
|
31 #endif //AI3PERF_H |