require '_h2ph_pre.ph';

if(defined(&TP_PERF_MEAS)) {
    eval 'sub tpmeas {
        local($a, $b, $t, $c, $d, $e) = @_;
	    eval q( &Tpmeas(, , $t, , , ($e)));
    }' unless defined(&tpmeas);
    eval 'sub TPMEASN () {4000;}' unless defined(&TPMEASN);
    eval 'sub TPtime_from_session () {0x01;}' unless defined(&TPtime_from_session);
    eval 'sub TPtime_to_session () {0x02;}' unless defined(&TPtime_to_session);
    eval 'sub TPtime_ack_rcvd () {0x03;}' unless defined(&TPtime_ack_rcvd);
    eval 'sub TPtime_ack_sent () {0x04;}' unless defined(&TPtime_ack_sent);
    eval 'sub TPtime_from_ll () {0x05;}' unless defined(&TPtime_from_ll);
    eval 'sub TPtime_to_ll () {0x06;}' unless defined(&TPtime_to_ll);
    eval 'sub TPsbsend () {0x07;}' unless defined(&TPsbsend);
    eval 'sub TPtime_open () {0x08;}' unless defined(&TPtime_open);
    eval 'sub TPtime_open_X () {0x28;}' unless defined(&TPtime_open_X);
    eval 'sub TPtime_close () {0x09;}' unless defined(&TPtime_close);
}
1;
