persistentstorage/centralrepository/test/testexecute/performance/inc/TE_PerfTestUtilities.h
branchRCL_3
changeset 24 cc28652e0254
parent 0 08ec8eefde2f
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
       
     1 // Copyright (c) 2006-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 // TE_MemTestFileOpenStep.h
       
    15 // 
       
    16 //
       
    17  
       
    18 #ifndef __TE_PERFTESTUTILITIES_H__
       
    19 #define __TE_PERFTESTUTILITIES_H__
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 //Utility function that converts fast counter result to milliseconds in real
       
    24 TReal FastCountToMillisecondsInReal(TInt aFastCount);
       
    25 
       
    26 //Utility function that converts fast counter result to microseconds in real
       
    27 TReal FastCountToMicrosecondsInReal(TInt aFastCount);
       
    28 
       
    29 //Utility function that converts fast counter result to milliseconds in int
       
    30 TUint64 FastCountToMillisecondsInInt(TInt aFastCount);
       
    31 
       
    32 //Utility function that converts fast counter result to microseconds in int
       
    33 TUint64 FastCountToMicrosecondsInInt(TInt aFastCount);
       
    34 
       
    35 //Utility function that measures the free ram size in bytes
       
    36 TInt FreeRamSize();
       
    37 
       
    38 //Utility function to cleanup cache
       
    39 void CleanupRepositoryCache();
       
    40 
       
    41 #endif //__TE_PERFTESTUTILITIES_H__
       
    42