Functions | |
def | leak_check (rss_start, rss_end) |
memory leak check More... | |
def | mem_rss () |
def | print_file_and_cons (out_data, out_flag=0) |
file and console out More... | |
Variables | |
compo0 = ns.rtc_handles["ConsoleIn0.rtc"] | |
compo1 = ns.rtc_handles["ConsoleOut0.rtc"] | |
conprof = RTC.ConnectorProfile("connector0", "123", [consin_ports[0],consout_ports[0]], [SDOPackage.NameValue("dataport.interface_type",any.to_any("corba_cdr")),SDOPackage.NameValue("dataport.dataflow_type",any.to_any("push")),SDOPackage.NameValue("dataport.subscription_type",any.to_any("flush"))]) | |
Connector Porfile: corba_cdr, push, flush <<< In -> Out More... | |
consin_ports = compo0.rtc_ref.get_ports() | |
More... | |
consout_ports = compo1.rtc_ref.get_ports() | |
env = RtmEnv(sys.argv, ["localhost:9898"]) | |
string | fodat = "=== " |
Connector Porfile: corba_cdr, push, new <<< In -> Out conprof = RTC.ConnectorProfile("connector0", "123", [consin_ports[0],consout_ports[0]], [SDOPackage.NameValue("dataport.interface_type",any.to_any("corba_cdr")),SDOPackage.NameValue("dataport.dataflow_type",any.to_any("push")),SDOPackage.NameValue("dataport.subscription_type",any.to_any("new"))]) More... | |
fout = open(test_case + ".log", 'w') | |
list0 = env.name_space["localhost:9898"].list_obj() | |
int | loop_cnt = 1000 |
ns = env.name_space['localhost:9898'] | |
ret0 = consin_ports[0].notify_connect(conprof) | |
ret1 = consin_ports[0].notify_disconnect(conprof.connector_id) | |
int | rss0 = 0 |
rss1 = i | |
rssEnd = mem_rss() | |
rssStart | |
string | test_case = "ConnectRTCTest" |
file out setting More... | |
def ConnectRTCTest.leak_check | ( | rss_start, | |
rss_end | |||
) |
memory leak check
Definition at line 51 of file ConnectRTCTest.py.
def ConnectRTCTest.mem_rss | ( | ) |
Definition at line 30 of file ConnectRTCTest.py.
def ConnectRTCTest.print_file_and_cons | ( | out_data, | |
out_flag = 0 |
|||
) |
file and console out
Definition at line 35 of file ConnectRTCTest.py.
ConnectRTCTest.compo0 = ns.rtc_handles["ConsoleIn0.rtc"] |
Definition at line 27 of file ConnectRTCTest.py.
ConnectRTCTest.compo1 = ns.rtc_handles["ConsoleOut0.rtc"] |
Definition at line 28 of file ConnectRTCTest.py.
ConnectRTCTest.conprof = RTC.ConnectorProfile("connector0", "123", [consin_ports[0],consout_ports[0]], [SDOPackage.NameValue("dataport.interface_type",any.to_any("corba_cdr")),SDOPackage.NameValue("dataport.dataflow_type",any.to_any("push")),SDOPackage.NameValue("dataport.subscription_type",any.to_any("flush"))]) |
Connector Porfile: corba_cdr, push, flush <<< In -> Out
Definition at line 75 of file ConnectRTCTest.py.
ConnectRTCTest.consin_ports = compo0.rtc_ref.get_ports() |
Definition at line 68 of file ConnectRTCTest.py.
ConnectRTCTest.consout_ports = compo1.rtc_ref.get_ports() |
Definition at line 70 of file ConnectRTCTest.py.
ConnectRTCTest.env = RtmEnv(sys.argv, ["localhost:9898"]) |
Definition at line 19 of file ConnectRTCTest.py.
string ConnectRTCTest.fodat = "=== " |
Connector Porfile: corba_cdr, push, new <<< In -> Out conprof = RTC.ConnectorProfile("connector0", "123", [consin_ports[0],consout_ports[0]], [SDOPackage.NameValue("dataport.interface_type",any.to_any("corba_cdr")),SDOPackage.NameValue("dataport.dataflow_type",any.to_any("push")),SDOPackage.NameValue("dataport.subscription_type",any.to_any("new"))])
Connector Porfile: corba_cdr, push, periodic <<< In -> Out conprof = RTC.ConnectorProfile("connector0", "123", [consin_ports[0],consout_ports[0]], [SDOPackage.NameValue("dataport.interface_type",any.to_any("corba_cdr")),SDOPackage.NameValue("dataport.dataflow_type",any.to_any("push")),SDOPackage.NameValue("dataport.subscription_type",any.to_any("periodic")),SDOPackage.NameValue("dataport.publisher.push_rate",any.to_any(2000))]) --------------------------------------------------------------—— print "ConnectorProfile=\n",conprof --------------------------------------------------------------------------—
Definition at line 63 of file ConnectRTCTest.py.
ConnectRTCTest.fout = open(test_case + ".log", 'w') |
Definition at line 61 of file ConnectRTCTest.py.
ConnectRTCTest.list0 = env.name_space["localhost:9898"].list_obj() |
Definition at line 20 of file ConnectRTCTest.py.
int ConnectRTCTest.loop_cnt = 1000 |
Definition at line 66 of file ConnectRTCTest.py.
ConnectRTCTest.ns = env.name_space['localhost:9898'] |
Definition at line 25 of file ConnectRTCTest.py.
ConnectRTCTest.ret0 = consin_ports[0].notify_connect(conprof) |
Definition at line 151 of file ConnectRTCTest.py.
ConnectRTCTest.ret1 = consin_ports[0].notify_disconnect(conprof.connector_id) |
Definition at line 154 of file ConnectRTCTest.py.
int ConnectRTCTest.rss0 = 0 |
Definition at line 108 of file ConnectRTCTest.py.
ConnectRTCTest.rss1 = i |
Definition at line 111 of file ConnectRTCTest.py.
ConnectRTCTest.rssEnd = mem_rss() |
Definition at line 117 of file ConnectRTCTest.py.
ConnectRTCTest.rssStart |
Definition at line 108 of file ConnectRTCTest.py.
string ConnectRTCTest.test_case = "ConnectRTCTest" |
file out setting
Definition at line 60 of file ConnectRTCTest.py.