interface XPerformanceTest in module com::sun::star::test::performance::

(Global Index)

Syntax

interface XPerformanceTest : com::sun::star::uno::XInterface ;

Description

* A performance test object has to be implemented in a special way, that:
*

  • queryInterface() execution times remain (nearly) static
  • *
  • functions kept simple, thus there is (nearly) no execution time of the function itself
  • *
  • no dynamic data is ever returned except of createObject(), so return 0, empty strings etc.
  • * * The interface is divided into three sections:
    *
  • measuring asynchron/ synchron calls
  • *
  • complex data calls with/out return value; in/out parameters
  • *
  • single data types like long, float, string etc.
  • *
  • method calls versa attribute calls
  • *
  • raising RuntimeException
  • *

    Method Summary

    async

    sync

    complex_in

    complex_inout

    complex_oneway

    complex_noreturn

    createObject

    getLong

    setLong

    getHyper

    setHyper

    getFloat

    setFloat

    getDouble

    setDouble

    getString

    setString

    getInterface

    setInterface

    getAny

    setAny

    getSequence

    setSequence

    getStruct

    setStruct

    raiseRuntimeException

    Method Details



    async

    Syntax

    oneway void async ();

    sync

    Syntax

    void sync ();

    complex_in

    Syntax

    com::sun::star::test::performance::ComplexTypes complex_in (
    com::sun::star::test::performance::ComplexTypes aVal );

    complex_inout

    Syntax

    com::sun::star::test::performance::ComplexTypes complex_inout (
    com::sun::star::test::performance::ComplexTypes aVal );

    complex_oneway

    Syntax

    oneway void complex_oneway (
    com::sun::star::test::performance::ComplexTypes aVal );

    complex_noreturn

    Syntax

    void complex_noreturn (
    com::sun::star::test::performance::ComplexTypes aVal );

    createObject

    Syntax

    com::sun::star::test::performance::XPerformanceTest createObject ();

    getLong

    Syntax

    long getLong ();

    setLong

    Syntax

    void setLong (
    long n );

    getHyper

    Syntax

    hyper getHyper ();

    setHyper

    Syntax

    void setHyper (
    hyper n );

    getFloat

    Syntax

    float getFloat ();

    setFloat

    Syntax

    void setFloat (
    float f );

    getDouble

    Syntax

    double getDouble ();

    setDouble

    Syntax

    void setDouble (
    double f );

    getString

    Syntax

    string getString ();

    setString

    Syntax

    void setString (
    string s );

    getInterface

    Syntax

    com::sun::star::uno::XInterface getInterface ();

    setInterface

    Syntax

    void setInterface (
    com::sun::star::uno::XInterface x );

    getAny

    Syntax

    any getAny ();

    setAny

    Syntax

    void setAny (
    any a );

    getSequence

    Syntax

    sequence< com::sun::star::uno::XInterface > getSequence ();

    setSequence

    Syntax

    void setSequence (
    sequence< com::sun::star::uno::XInterface > seq );

    getStruct

    Syntax

    com::sun::star::test::performance::ComplexTypes getStruct ();

    setStruct

    Syntax

    void setStruct (
    com::sun::star::test::performance::ComplexTypes c );

    raiseRuntimeException

    Syntax

    void raiseRuntimeException ();
    Top of Page