Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^10: Use perl type without perl

by bulk88 (Priest)
on Sep 25, 2012 at 23:23 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://995649]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-03-19 05:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found