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["ConsoleOut0.rtc"] | |
compo1 = ns.rtc_handles["ConsoleIn0.rtc"] | |
ec = compo0.rtc_ref.get_owned_contexts() | |
ec_id = compo0.rtc_ref.attach_context(ec[0]) | |
env = RtmEnv(sys.argv, ["localhost:9898"]) | |
string | fodat = "=== " + test_case + " start ===" |
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'] | |
retcode = compo0.rtc_ref.detach_context(ec_id) | |
def | rss0 = rss0 |
def | rss1 = i |
def | rssEnd = mem_rss() |
seqin0 = ns.rtc_handles["SequenceInComponent0.rtc"] | |
string | test_case = "AttachDetachRTCTest" |
file out setting More... | |
def AttachDetachRTCTest.leak_check | ( | rss_start, | |
rss_end | |||
) |
memory leak check
Definition at line 53 of file AttachDetachRTCTest.py.
def AttachDetachRTCTest.mem_rss | ( | ) |
Definition at line 32 of file AttachDetachRTCTest.py.
def AttachDetachRTCTest.print_file_and_cons | ( | out_data, | |
out_flag = 0 |
|||
) |
file and console out
Definition at line 37 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.compo0 = ns.rtc_handles["ConsoleOut0.rtc"] |
Definition at line 27 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.compo1 = ns.rtc_handles["ConsoleIn0.rtc"] |
Definition at line 26 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.ec = compo0.rtc_ref.get_owned_contexts() |
Definition at line 30 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.ec_id = compo0.rtc_ref.attach_context(ec[0]) |
Definition at line 75 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.env = RtmEnv(sys.argv, ["localhost:9898"]) |
Definition at line 18 of file AttachDetachRTCTest.py.
string AttachDetachRTCTest.fodat = "=== " + test_case + " start ===" |
Definition at line 65 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.fout = open(test_case + ".log", 'w') |
Definition at line 63 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.list0 = env.name_space["localhost:9898"].list_obj() |
Definition at line 19 of file AttachDetachRTCTest.py.
int AttachDetachRTCTest.loop_cnt = 1000 |
Definition at line 68 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.ns = env.name_space['localhost:9898'] |
Definition at line 22 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.retcode = compo0.rtc_ref.detach_context(ec_id) |
Definition at line 79 of file AttachDetachRTCTest.py.
def AttachDetachRTCTest.rss0 = rss0 |
Definition at line 83 of file AttachDetachRTCTest.py.
def AttachDetachRTCTest.rss1 = i |
Definition at line 86 of file AttachDetachRTCTest.py.
def AttachDetachRTCTest.rssEnd = mem_rss() |
Definition at line 92 of file AttachDetachRTCTest.py.
AttachDetachRTCTest.seqin0 = ns.rtc_handles["SequenceInComponent0.rtc"] |
Definition at line 28 of file AttachDetachRTCTest.py.
string AttachDetachRTCTest.test_case = "AttachDetachRTCTest" |
file out setting
Definition at line 62 of file AttachDetachRTCTest.py.