Functions | Variables
AttachDetachRTCTest Namespace Reference

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...
 

Function Documentation

◆ leak_check()

def AttachDetachRTCTest.leak_check (   rss_start,
  rss_end 
)

memory leak check

Definition at line 53 of file AttachDetachRTCTest.py.

◆ mem_rss()

def AttachDetachRTCTest.mem_rss ( )

Definition at line 32 of file AttachDetachRTCTest.py.

◆ print_file_and_cons()

def AttachDetachRTCTest.print_file_and_cons (   out_data,
  out_flag = 0 
)

file and console out

Definition at line 37 of file AttachDetachRTCTest.py.

Variable Documentation

◆ compo0

AttachDetachRTCTest.compo0 = ns.rtc_handles["ConsoleOut0.rtc"]

Definition at line 27 of file AttachDetachRTCTest.py.

◆ compo1

AttachDetachRTCTest.compo1 = ns.rtc_handles["ConsoleIn0.rtc"]

Definition at line 26 of file AttachDetachRTCTest.py.

◆ ec

AttachDetachRTCTest.ec = compo0.rtc_ref.get_owned_contexts()

Definition at line 30 of file AttachDetachRTCTest.py.

◆ ec_id

AttachDetachRTCTest.ec_id = compo0.rtc_ref.attach_context(ec[0])

Definition at line 75 of file AttachDetachRTCTest.py.

◆ env

AttachDetachRTCTest.env = RtmEnv(sys.argv, ["localhost:9898"])

Definition at line 18 of file AttachDetachRTCTest.py.

◆ fodat

string AttachDetachRTCTest.fodat = "=== " + test_case + " start ==="


Definition at line 65 of file AttachDetachRTCTest.py.

◆ fout

AttachDetachRTCTest.fout = open(test_case + ".log", 'w')

Definition at line 63 of file AttachDetachRTCTest.py.

◆ list0

AttachDetachRTCTest.list0 = env.name_space["localhost:9898"].list_obj()

Definition at line 19 of file AttachDetachRTCTest.py.

◆ loop_cnt

int AttachDetachRTCTest.loop_cnt = 1000

Definition at line 68 of file AttachDetachRTCTest.py.

◆ ns

AttachDetachRTCTest.ns = env.name_space['localhost:9898']

Definition at line 22 of file AttachDetachRTCTest.py.

◆ retcode

AttachDetachRTCTest.retcode = compo0.rtc_ref.detach_context(ec_id)

Definition at line 79 of file AttachDetachRTCTest.py.

◆ rss0

def AttachDetachRTCTest.rss0 = rss0

Definition at line 83 of file AttachDetachRTCTest.py.

◆ rss1

def AttachDetachRTCTest.rss1 = i

Definition at line 86 of file AttachDetachRTCTest.py.

◆ rssEnd

def AttachDetachRTCTest.rssEnd = mem_rss()

Definition at line 92 of file AttachDetachRTCTest.py.

◆ seqin0

AttachDetachRTCTest.seqin0 = ns.rtc_handles["SequenceInComponent0.rtc"]

Definition at line 28 of file AttachDetachRTCTest.py.

◆ test_case

string AttachDetachRTCTest.test_case = "AttachDetachRTCTest"

file out setting

Definition at line 62 of file AttachDetachRTCTest.py.



openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:46