Lines Matching refs:nLoop

520 	sal_Int64			nLoop;  member in benchmark_test::TimeEntry
527 : nLoop( nLoop_ ) in TimeEntry()
532 { return (((double)nTicks) / (nLoop * 1000)); } in secPerCall()
539 double f = rEntry.nTicks * nLoop; in ratio()
546 return (((double)(nTicks * rEntry.nLoop)) / f); in ratio()
557 void insert( const sal_Char * pText, sal_Int64 nLoop, sal_uInt32 nTicks );
560 void TimingSheet::insert( const sal_Char * pText, sal_Int64 nLoop, sal_uInt32 nTicks ) in insert() argument
562 _entries[ pText ] = TimeEntry( nLoop, nTicks ); in insert()
570 TimingSheet & rSheet, const Reference< XInterface > & xInstance, sal_Int64 nLoop ) in benchmark() argument
587 i = nLoop; in benchmark()
594 …rSheet.insert( "1a: sending simple oneway calls (no params, no return)", nLoop, tEndSend - tStart … in benchmark()
595 rSheet.insert( "1b: simple oneway calls (no params, no return)", nLoop, tEnd - tStart ); in benchmark()
597 i = nLoop; in benchmark()
603 rSheet.insert( "1c: simple synchron calls (no params no return)", nLoop+1, tEnd - tStart ); in benchmark()
606 i = nLoop; in benchmark()
611 rSheet.insert( "2a: interface acquire() calls", nLoop, tEnd - tStart ); in benchmark()
613 i = nLoop; in benchmark()
618 rSheet.insert( "2b: interface release() calls", nLoop, tEnd - tStart ); in benchmark()
621 i = nLoop; in benchmark()
626 rSheet.insert( "2c: interface query for implemented type", nLoop, tEnd - tStart ); in benchmark()
628 i = nLoop; in benchmark()
633 rSheet.insert( "2d: interface query for unknown type", nLoop, tEnd - tStart ); in benchmark()
637 i = nLoop; in benchmark()
642 rSheet.insert( "3a: create and release test objects", nLoop, tEnd - tStart ); in benchmark()
645 Sequence< Reference< XInterface > > aSeq( nLoop / 100 ); in benchmark()
653 rSheet.insert( "3b: create and hold test objects", nLoop, tEnd - tStart ); in benchmark()
656 i = nLoop; in benchmark()
661 rSheet.insert( "4a: complex_in() calls (in struct; return struct)", nLoop, tEnd - tStart ); in benchmark()
662 i = nLoop; in benchmark()
667 rSheet.insert( "4b: complex_inout() calls (inout struct; return struct)", nLoop, tEnd - tStart ); in benchmark()
669 i = nLoop; in benchmark()
674 rSheet.insert( "4c: complex_oneway() oneway calls (in struct)", nLoop, tEnd - tStart ); in benchmark()
675 i = nLoop; in benchmark()
680 rSheet.insert( "4d: complex_noreturn() calls (in struct)", nLoop, tEnd - tStart ); in benchmark()
683 i = nLoop; in benchmark()
688 rSheet.insert( "5a: getLong() call", nLoop, tEnd - tStart ); in benchmark()
689 i = nLoop; in benchmark()
694 rSheet.insert( "5b: get long attribute", nLoop, tEnd - tStart ); in benchmark()
696 i = nLoop; in benchmark()
701 rSheet.insert( "5c: setLong() call", nLoop, tEnd - tStart ); in benchmark()
702 i = nLoop; in benchmark()
707 rSheet.insert( "5d: set long attribute", nLoop, tEnd - tStart ); in benchmark()
709 i = nLoop; in benchmark()
714 rSheet.insert( "5e: getHyper() call", nLoop, tEnd - tStart ); in benchmark()
715 i = nLoop; in benchmark()
720 rSheet.insert( "5f: get hyper attribute", nLoop, tEnd - tStart ); in benchmark()
722 i = nLoop; in benchmark()
727 rSheet.insert( "5g: setHyper() call", nLoop, tEnd - tStart ); in benchmark()
728 i = nLoop; in benchmark()
733 rSheet.insert( "5h: set hyper attribute", nLoop, tEnd - tStart ); in benchmark()
735 i = nLoop; in benchmark()
740 rSheet.insert( "5i: getFloat() call", nLoop, tEnd - tStart ); in benchmark()
741 i = nLoop; in benchmark()
746 rSheet.insert( "5j: get float attribute",nLoop, tEnd - tStart ); in benchmark()
748 i = nLoop; in benchmark()
753 rSheet.insert( "5k: setFloat() call", nLoop, tEnd - tStart ); in benchmark()
754 i = nLoop; in benchmark()
759 rSheet.insert( "5l: set float attribute", nLoop, tEnd - tStart ); in benchmark()
761 i = nLoop; in benchmark()
766 rSheet.insert( "5m: getDouble() call", nLoop, tEnd - tStart ); in benchmark()
767 i = nLoop; in benchmark()
772 rSheet.insert( "5n: get double attribute", nLoop, tEnd - tStart ); in benchmark()
773 i = nLoop; in benchmark()
778 rSheet.insert( "5o: setDouble() call", nLoop, tEnd - tStart ); in benchmark()
779 i = nLoop; in benchmark()
784 rSheet.insert( "5p: set double attribute", nLoop, tEnd - tStart ); in benchmark()
786 i = nLoop; in benchmark()
791 rSheet.insert( "6a: getString() call (empty)", nLoop, tEnd - tStart ); in benchmark()
792 i = nLoop; in benchmark()
797 rSheet.insert( "6b: get empty string attribute", nLoop, tEnd - tStart ); in benchmark()
799 i = nLoop; in benchmark()
805 rSheet.insert( "6c: setString() call (emtpy)", nLoop, tEnd - tStart ); in benchmark()
806 i = nLoop; in benchmark()
811 rSheet.insert( "6d: set empty string attribute", nLoop, tEnd - tStart ); in benchmark()
813 i = nLoop; in benchmark()
818 rSheet.insert( "7a: getInterface() call (null)", nLoop, tEnd - tStart ); in benchmark()
819 i = nLoop; in benchmark()
824 rSheet.insert( "7b: get interface attribute", nLoop, tEnd - tStart ); in benchmark()
826 i = nLoop; in benchmark()
832 rSheet.insert( "7c: setInterface() call (null)", nLoop, tEnd - tStart ); in benchmark()
833 i = nLoop; in benchmark()
838 rSheet.insert( "7d: set interface attribute", nLoop, tEnd - tStart ); in benchmark()
840 i = nLoop; in benchmark()
845 rSheet.insert( "8a: getAny() call (empty)", nLoop, tEnd - tStart ); in benchmark()
846 i = nLoop; in benchmark()
851 rSheet.insert( "8b: get empty any attribute", nLoop, tEnd - tStart ); in benchmark()
853 i = nLoop; in benchmark()
859 rSheet.insert( "8c: setAny() call (empty)", nLoop, tEnd - tStart ); in benchmark()
860 i = nLoop; in benchmark()
865 rSheet.insert( "8d: set empty any attribute", nLoop, tEnd - tStart ); in benchmark()
867 i = nLoop; in benchmark()
872 rSheet.insert( "9a: getSequence() call (empty)", nLoop, tEnd - tStart ); in benchmark()
873 i = nLoop; in benchmark()
878 rSheet.insert( "9b: get empty sequence attribute", nLoop, tEnd - tStart ); in benchmark()
879 i = nLoop; in benchmark()
885 rSheet.insert( "9c: setSequence() call (empty)", nLoop, tEnd - tStart ); in benchmark()
886 i = nLoop; in benchmark()
891 rSheet.insert( "9d: set empty sequence attribute", nLoop, tEnd - tStart ); in benchmark()
893 i = nLoop; in benchmark()
898 rSheet.insert( "Aa: getStruct() call", nLoop, tEnd - tStart ); in benchmark()
899 i = nLoop; in benchmark()
904 rSheet.insert( "Ab: get struct attribute", nLoop, tEnd - tStart ); in benchmark()
906 i = nLoop; in benchmark()
911 rSheet.insert( "Ac: setStruct() call", nLoop, tEnd - tStart ); in benchmark()
912 i = nLoop; in benchmark()
917 rSheet.insert( "Ad: set struct attribute", nLoop, tEnd - tStart ); in benchmark()
928 i = nLoop; in benchmark()
941 rSheet.insert( "Ba: raising RuntimeException", nLoop, tEnd - tStart ); in benchmark()
970 sal_Int64 nLoop = NLOOP; in run() local
980 nLoop = n; in run()
988 nLoop = nMagicNumberDirect * n; in run()
1037 out( nLoop ); in run()
1048 benchmark( aDirect, getDirect(), nLoop ); in run()
1079 benchmark( aSheets[ "mapped in process" ], xMapped, nLoop / 100 ); in run()
1151 benchmark( aSheets[ "remote same host" ], xResolvedObject, nLoop / 300 ); in run()
1168 benchmark( aSheets[ o.getStr() ], xResolvedObject, nLoop / 900 ); in run()
1180 nLoop / 1000 ); in run()