Xfer: Difference between revisions

From John's wiki
Jump to navigation Jump to search
(options)
(xfer)
Line 1: Line 1:
timestamping interface option*
g++    -o dist/Debug/GNU-Linux-x86/maximus build/Debug/GNU-Linux-x86/IClient.o build/Debug/GNU-Linux-x86/MarketDepth.o build/Debug/GNU-Linux-x86/MarketOrder.o build/Debug/GNU-Linux-x86/Maximus.o build/Debug/GNU-Linux-x86/MaximusInstrument.o build/Debug/GNU-Linux-x86/MaximusServer.o build/Debug/GNU-Linux-x86/MaximusShell.o build/Debug/GNU-Linux-x86/ProximoClient.o build/Debug/GNU-Linux-x86/limits.o build/Debug/GNU-Linux-x86/main.o build/Debug/GNU-Linux-x86/matrix.o build/Debug/GNU-Linux-x86/stdafx.o ../Core/dist/Debug/GNU-Linux-x86/libcore.a ../ProximoLib/dist/Debug/GNU-Linux-x86/libproximolib.a ../KrxLib/dist/Debug/GNU-Linux-x86/libkrxlib.a ../Orc/dist/Debug/GNU-Linux-x86/liborc.a -pthread -Wl,-Bstatic -lboost_system -lboost_log -lboost_log_setup -lboost_thread -lboost_filesystem -lboost_unit_test_framework -lboost_serialization -Wl,-Bdynamic
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../libboost_log_setup.a(formatter_parser.o): In function `boost::log::v2s_mt_posix::basic_formatter<wchar_t> boost::log::v2s_mt_posix::parse_formatter<wchar_t>(wchar_t const*, wchar_t const*)':
Options:
formatter_parser.cpp:(.text._ZN5boost3log12v2s_mt_posix15parse_formatterIwEENS1_15basic_formatterIT_EEPKS4_S7_[_ZN5boost3log12v2s_mt_posix15parse_formatterIwEENS1_15basic_formatterIT_EEPKS4_S7_]+0x44f): undefined reference to `boost::log::v2s_mt_posix::aux::code_convert_impl(wchar_t const*, unsigned long, std::string&, std::locale const&)'
  IP_MULTICAST_LOOP - looping outgoing multicasts
  SO_TIMESTAMP - normal software time stamping, ms resolution
  SO_TIMESTAMPNS - more accurate software time stamping
  SOF_TIMESTAMPING_TX_HARDWARE - hardware time stamping of outgoing packets
  SOF_TIMESTAMPING_TX_SOFTWARE - software fallback for outgoing packets
  SOF_TIMESTAMPING_RX_HARDWARE - hardware time stamping of incoming packets
  SOF_TIMESTAMPING_RX_SOFTWARE - software fallback for incoming packets
  SOF_TIMESTAMPING_SOFTWARE - request reporting of software time stamps
  SOF_TIMESTAMPING_RAW_HARDWARE - request reporting of raw HW time stamps
  SIOCGSTAMP - check last socket time stamp
  SIOCGSTAMPNS - more accurate socket time stamp
 
 
[jj5@cherry linux-ts]sudo ./a.out enp2s0f0 SOF_TIMESTAMPING_TX_HARDWARE SOF_TIMESTAMPING_RX_HARDWARE SOF_TIMESTAMPING_RAW_HARDWARE
SIOCSHWTSTAMP: tx_type 1 requested, got 1; rx_filter 4 requested, got 1
SO_TIMESTAMP 0
SO_TIMESTAMPNS 0
SO_TIMESTAMPING 69
1448770329.491771: select 508229us
1448770330.000542: select returned: 0, success
1448770330.000558: sent 124 bytes
1448770330.000559: select 4999441us
1448770330.000673: select returned: 1, success
ready for reading
recvmsg regular: Resource temporarily unavailable
1448770330.000686: received error data, 166 bytes from 69.0.0.152, 112 bytes control messages
    cmsg len 64: SOL_SOCKET SO_TIMESTAMPING SW 0.000000000 HW raw 431.339791492
    cmsg len 48: IPPROTO_IP IP_RECVERR ee_errno 'No message of desired type' ee_origin 4 => bounced packet => GOT OUR DATA BACK (HURRAY!)
1448770330.000696: select 4999304us
1448770335.005037: select returned: 0, success
1448770335.005047: sent 124 bytes
1448770335.005048: select 4994952us
1448770335.005180: select returned: 1, success
ready for reading
recvmsg regular: Resource temporarily unavailable
1448770335.005200: received error data, 166 bytes from 69.0.0.152, 112 bytes control messages
    cmsg len 64: SOL_SOCKET SO_TIMESTAMPING SW 0.000000000 HW raw 436.344331004
    cmsg len 48: IPPROTO_IP IP_RECVERR ee_errno 'No message of desired type' ee_origin 4 => bounced packet => GOT OUR DATA BACK (HURRAY!)
1448770335.005215: select 4994785us
1448770340.005039: select returned: 0, success
1448770340.005049: sent 124 bytes
1448770340.005050: select 4994950us
1448770340.005155: select returned: 1, success
ready for reading
recvmsg regular: Resource temporarily unavailable
1448770340.005174: received error data, 166 bytes from 69.0.0.152, 112 bytes control messages
    cmsg len 64: SOL_SOCKET SO_TIMESTAMPING SW 0.000000000 HW raw 441.344329789
    cmsg len 48: IPPROTO_IP IP_RECVERR ee_errno 'No message of desired type' ee_origin 4 => bounced packet => GOT OUR DATA BACK (HURRAY!)
1448770340.005189: select 4994811us

Revision as of 17:52, 30 November 2015

g++ -o dist/Debug/GNU-Linux-x86/maximus build/Debug/GNU-Linux-x86/IClient.o build/Debug/GNU-Linux-x86/MarketDepth.o build/Debug/GNU-Linux-x86/MarketOrder.o build/Debug/GNU-Linux-x86/Maximus.o build/Debug/GNU-Linux-x86/MaximusInstrument.o build/Debug/GNU-Linux-x86/MaximusServer.o build/Debug/GNU-Linux-x86/MaximusShell.o build/Debug/GNU-Linux-x86/ProximoClient.o build/Debug/GNU-Linux-x86/limits.o build/Debug/GNU-Linux-x86/main.o build/Debug/GNU-Linux-x86/matrix.o build/Debug/GNU-Linux-x86/stdafx.o ../Core/dist/Debug/GNU-Linux-x86/libcore.a ../ProximoLib/dist/Debug/GNU-Linux-x86/libproximolib.a ../KrxLib/dist/Debug/GNU-Linux-x86/libkrxlib.a ../Orc/dist/Debug/GNU-Linux-x86/liborc.a -pthread -Wl,-Bstatic -lboost_system -lboost_log -lboost_log_setup -lboost_thread -lboost_filesystem -lboost_unit_test_framework -lboost_serialization -Wl,-Bdynamic /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../libboost_log_setup.a(formatter_parser.o): In function `boost::log::v2s_mt_posix::basic_formatter<wchar_t> boost::log::v2s_mt_posix::parse_formatter<wchar_t>(wchar_t const*, wchar_t const*)': formatter_parser.cpp:(.text._ZN5boost3log12v2s_mt_posix15parse_formatterIwEENS1_15basic_formatterIT_EEPKS4_S7_[_ZN5boost3log12v2s_mt_posix15parse_formatterIwEENS1_15basic_formatterIT_EEPKS4_S7_]+0x44f): undefined reference to `boost::log::v2s_mt_posix::aux::code_convert_impl(wchar_t const*, unsigned long, std::string&, std::locale const&)'