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 | |
env = RtmEnv(sys.argv, ["localhost:9898"]) | |
string | fodat = "=== " |
More... | |
fout = open(test_case + ".log", 'w') | |
int | loop_cnt = 1000 |
manager = naming.resolve(mgr_name)._narrow(RTM.Manager) | |
string | mgr_name = socket.gethostname()+".host_cxt/manager.mgr" |
naming = CorbaNaming(env.orb,"localhost:9898") | |
obj0 = manager.create_component("ConsoleOut") | |
Manager::create_component(in string module_name);. More... | |
ret0 = manager.delete_component("ConsoleOut0") | |
Manager::delete_component(in string instance_name);. More... | |
retcode = manager.unload_module(".//ConsoleOut.so") | |
Manager::unload_module(in string pathname);. More... | |
int | rss0 = 0 |
rss1 = i | |
rssEnd = mem_rss() | |
rssStart | |
string | test_case = "CreateDeleteRTCTest" |
file out setting More... | |
def CreateDeleteRTCTest.leak_check | ( | rss_start, | |
rss_end | |||
) |
memory leak check
Definition at line 50 of file CreateDeleteRTCTest.py.
def CreateDeleteRTCTest.mem_rss | ( | ) |
Definition at line 29 of file CreateDeleteRTCTest.py.
def CreateDeleteRTCTest.print_file_and_cons | ( | out_data, | |
out_flag = 0 |
|||
) |
file and console out
Definition at line 34 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.env = RtmEnv(sys.argv, ["localhost:9898"]) |
Definition at line 21 of file CreateDeleteRTCTest.py.
string CreateDeleteRTCTest.fodat = "=== " |
Definition at line 62 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.fout = open(test_case + ".log", 'w') |
Definition at line 60 of file CreateDeleteRTCTest.py.
int CreateDeleteRTCTest.loop_cnt = 1000 |
Definition at line 65 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.manager = naming.resolve(mgr_name)._narrow(RTM.Manager) |
Definition at line 25 of file CreateDeleteRTCTest.py.
string CreateDeleteRTCTest.mgr_name = socket.gethostname()+".host_cxt/manager.mgr" |
Definition at line 23 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.naming = CorbaNaming(env.orb,"localhost:9898") |
Definition at line 24 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.obj0 = manager.create_component("ConsoleOut") |
Manager::create_component(in string module_name);.
Definition at line 109 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.ret0 = manager.delete_component("ConsoleOut0") |
Manager::delete_component(in string instance_name);.
Definition at line 104 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.retcode = manager.unload_module(".//ConsoleOut.so") |
Manager::unload_module(in string pathname);.
Manager::load_module(in string pathname, in string initfunc); retcode = manager.load_module("ConsoleIn.so", "ConsoleInInit")
Definition at line 74 of file CreateDeleteRTCTest.py.
int CreateDeleteRTCTest.rss0 = 0 |
Definition at line 85 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.rss1 = i |
Definition at line 88 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.rssEnd = mem_rss() |
Definition at line 94 of file CreateDeleteRTCTest.py.
CreateDeleteRTCTest.rssStart |
Definition at line 85 of file CreateDeleteRTCTest.py.
string CreateDeleteRTCTest.test_case = "CreateDeleteRTCTest" |
file out setting
Definition at line 59 of file CreateDeleteRTCTest.py.