Help for this page

Select Code to Download


  1. or download this
    void
    CxtSpeed()
    ...
        }
        QueryPerformanceCounter(&end);
        printf("cxt %I64u\n", end.QuadPart-start.QuadPart);
    
  2. or download this
    //separate compiland/obj file
    #define PERL_NO_GET_CONTEXT
    ...
    __declspec(dllexport) int cxt(pTHX){
        return ((int) my_perl) >> 1;
    }
    
  3. or download this
    #in makefile.pl hash to WriteMakefile
        FUNCLIST       => ['no_cxt', 'cxt'],
        dynamic_lib => { OTHERLDFLAGS => ' noopt.obj ' ,
        INST_DYNAMIC_DEP => 'noopt.obj'
        },
    
  4. or download this
    C:\Documents and Settings\Owner\Desktop\cpan libs\lxs>perl -MLocal::XS
    + -e "Local::
    XS::CxtSpeed();"
    ...
    cxt 11096124
    
    C:\Documents and Settings\Owner\Desktop\cpan libs\lxs>