diff -r c55016431358 -r 0a7b44b10206 symport/e32/include/e32def_private.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/symport/e32/include/e32def_private.h Thu Jun 25 15:59:54 2009 +0100 @@ -0,0 +1,658 @@ +// 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 "Symbian Foundation License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// e32\include\e32def_private.h +// +// + +#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