Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 exploiting the Monastery: (10)
As of 2015-07-03 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (50 votes), past polls