persistentstorage/centralrepository/test/testexecute/performance/inc/TE_PerfTestStep.inl
branchRCL_3
changeset 24 cc28652e0254
parent 0 08ec8eefde2f
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
       
     1 // Copyright (c) 2005-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 "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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 // class TRepStatistics
       
    17 inline TRepStatistics::TRepStatistics()
       
    18 	: iRepUid(0), iUseCount(0), iSumLoadTicks(0), iCacheMisses(0)
       
    19 	{
       
    20 	}
       
    21 
       
    22 inline TRepStatistics::TRepStatistics(const TRepStatistics& aRepStatistics)
       
    23 	{
       
    24 	iRepUid = aRepStatistics.iRepUid;
       
    25 	iUseCount = aRepStatistics.iUseCount;
       
    26 	iSumLoadTicks = aRepStatistics.iSumLoadTicks;
       
    27 	iCacheMisses = aRepStatistics.iCacheMisses;
       
    28 	}
       
    29 
       
    30 inline TRepStatistics::TRepStatistics(TUint32 aRepUid, TUint32 aLoadTicks)
       
    31 	: iRepUid(aRepUid), iUseCount(1), iSumLoadTicks(aLoadTicks), iCacheMisses(0)
       
    32 	{
       
    33 	}
       
    34 
       
    35 inline TBool TRepStatistics::MatchUid(TUint32 aRepUid) const
       
    36 	{
       
    37 	return iRepUid == aRepUid;
       
    38 	}
       
    39 
       
    40 //-------------------------------------
       
    41 // class TIpcStatistics
       
    42 
       
    43 inline TIpcStatistics::TIpcStatistics()
       
    44 	: iUseCount(0), iSumElapsedTicks(0)
       
    45 	{
       
    46 	}
       
    47