Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^10: Use perl type without perl

by bulk88 (Priest)
on Sep 25, 2012 at 23:23 UTC ( #995649=note: print w/ replies, xml ) Need Help??

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>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995649]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-04-20 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls