Update contrib.
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 the License "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test\bench\d_prof.h
18 #if !defined(__D_PROFILE_H__)
19 #define __D_PROFILE_H__
20 #if !defined(__E32STD_H__)
34 TUint iMaxContinuousCpuTime;
35 TUint iMaxTimeBeforeYield;
38 class RProfile : public RBusLogicalChannel
49 inline TInt Read(RThread& aThread,TProfileData& aData);
52 inline TInt RProfile::Open()
53 {return DoCreate(_L("Profile"),TVersion(0,1,1),KNullUnit,NULL,NULL);}
55 inline TInt RProfile::Reset()
56 {return DoControl(EControlResetProfile);}
58 inline TInt RProfile::Read(RThread& aThread, TProfileData& aData)
59 {return DoControl(EControlReadProfile, (TAny*)aThread.Handle(), (TAny*)&aData);}