sl@0: // Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32\include\e32def_private.h sl@0: // sl@0: // WARNING: This file contains some APIs which are internal and are subject sl@0: // to change without notice. Such APIs should therefore not be used sl@0: // outside the Kernel and Hardware Services package. sl@0: // sl@0: sl@0: #ifndef __E32DEF_PRIVATE_H__ sl@0: #define __E32DEF_PRIVATE_H__ sl@0: sl@0: #ifdef __PROFILING__ sl@0: sl@0: /** sl@0: @publishedPartner sl@0: @removed sl@0: */ sl@0: #define __PROFILE_START(aBin) RDebug::ProfileStart(aBin) sl@0: sl@0: /** sl@0: @publishedPartner sl@0: @removed sl@0: */ sl@0: #define __PROFILE_END(aBin) RDebug::ProfileEnd(aBin) sl@0: sl@0: /** sl@0: @publishedPartner sl@0: @removed sl@0: */ sl@0: #define __PROFILE_RESET(aNumberOfBins) RDebug::ProfileReset(0,aNumberOfBins) sl@0: sl@0: /** sl@0: @publishedPartner sl@0: @removed sl@0: */ sl@0: #define __PROFILE_DISPLAY(aNumberOfBins) \ sl@0: { TFixedArray result; \ sl@0: RDebug::ProfileResult(result.Begin(), 0, aNumberOfBins); \ sl@0: for (TInt i=0; i