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