graphicstest/graphicstestharness/inc/tprofiler.h
changeset 152 9f1c3fea0f87
parent 69 3365349494cc
equal deleted inserted replaced
111:29ddb8a72f0e 152:9f1c3fea0f87
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    31 _LIT(KSqlData,          "SQL_UPLOAD_VERSION_0:('%u', '%S', '%S', '%S', '%d');");
    31 _LIT(KSqlData,          "SQL_UPLOAD_VERSION_0:('%u', '%S', '%S', '%S', '%d');");
    32 _LIT(KMicroSeconds,     "us");
    32 _LIT(KMicroSeconds,     "us");
    33 _LIT(KPixelsPerSecond,  "pixels/second");
    33 _LIT(KPixelsPerSecond,  "pixels/second");
    34 _LIT(KFrameRate,        "frames/second");
    34 _LIT(KFrameRate,        "frames/second");
    35 _LIT(KCharacterRate,    "characters/second");
    35 _LIT(KCharacterRate,    "characters/second");
       
    36 _LIT(KGlyphRate,        "glyphs/second");
    36 _LIT(KVariation,        "Rot_%i_SrcMode_%i_DestMode_%i_Iters_%i");
    37 _LIT(KVariation,        "Rot_%i_SrcMode_%i_DestMode_%i_Iters_%i");
    37 _LIT(KVariationPPI,     "Rot_%i_SrcMode_%i_DestMode_%i_Iters_%i_PPI_%i");
    38 _LIT(KVariationPPI,     "Rot_%i_SrcMode_%i_DestMode_%i_Iters_%i_PPI_%i");
    38 _LIT(KVariationZOrder,  "ZOrd_%i_SrcMode_%i_DestMode_%i_Iters_%i_PPI_%i");
    39 _LIT(KVariationZOrder,  "ZOrd_%i_SrcMode_%i_DestMode_%i_Iters_%i_PPI_%i");
    39 _LIT(KVariationCPI,     "Rot_%i_SrcMode_%i_DestMode_%i_Iters_%i_CPI_%i");
    40 _LIT(KVariationCPI,     "Rot_%i_SrcMode_%i_DestMode_%i_Iters_%i_CPI_%i");
    40 _LIT(KMaxTime,          "%S_Max");
    41 _LIT(KMaxTime,          "%S_Max");
    67 	IMPORT_C TUint32 TimeMax();
    68 	IMPORT_C TUint32 TimeMax();
    68 	IMPORT_C TUint32 TimeMin();
    69 	IMPORT_C TUint32 TimeMin();
    69 	IMPORT_C void ShowResultArrayInTimingOrder();
    70 	IMPORT_C void ShowResultArrayInTimingOrder();
    70 	IMPORT_C void SetStoreResultInTimingOrder(TBool aStoreResultInTimingOrder);
    71 	IMPORT_C void SetStoreResultInTimingOrder(TBool aStoreResultInTimingOrder);
    71 	IMPORT_C void SqlInsert(const TDesC* aTestName, const TDesC* aTestAttribute, const TDesC* aTestUnit, TInt32 aTestResultValue);
    72 	IMPORT_C void SqlInsert(const TDesC* aTestName, const TDesC* aTestAttribute, const TDesC* aTestUnit, TInt32 aTestResultValue);
    72 
    73 	IMPORT_C void ResultsAnalysisGlyphRate(const TDesC & aTestName, TInt aRotation, TInt aSrcScreenMode, TInt aDstScreenMode, TInt aIters, TInt aNumPixels);
    73 
    74 
    74 private:
    75 private:
    75     CTProfiler(CTestStep& aTestStep);
    76     CTProfiler(CTestStep& aTestStep);
    76     void ConstructL();
    77     void ConstructL();
    77     
    78