SWDEV-294331 Fix for memcopy Incorrect number of bindings error
Change-Id: I6dabca411bab567b27db8ef801006b393b22788e
This commit is contained in:
gecommit door
Laurent Morichetti
bovenliggende
99a5d6e75d
commit
f1c0faa601
@@ -92,7 +92,7 @@ class MemManager:
|
|||||||
procid = rec_vals[3] # 'pid'
|
procid = rec_vals[3] # 'pid'
|
||||||
recordid = rec_vals[5] # 'Index'
|
recordid = rec_vals[5] # 'Index'
|
||||||
size_ptrn = re.compile(DELIM + 'Size=(\d+)' + DELIM)
|
size_ptrn = re.compile(DELIM + 'Size=(\d+)' + DELIM)
|
||||||
|
filled_ptrn = re.compile('BW=')
|
||||||
# query syncronous memcopy API record
|
# query syncronous memcopy API record
|
||||||
key = (recordid, procid, 0)
|
key = (recordid, procid, 0)
|
||||||
if key in self.memcopies:
|
if key in self.memcopies:
|
||||||
@@ -102,7 +102,8 @@ class MemManager:
|
|||||||
key = (recordid, procid, 1)
|
key = (recordid, procid, 1)
|
||||||
if key in self.memcopies:
|
if key in self.memcopies:
|
||||||
if data != '': fatal('register_copy: corrupted record sync/async')
|
if data != '': fatal('register_copy: corrupted record sync/async')
|
||||||
|
mf = filled_ptrn.search(self.memcopies[key])
|
||||||
|
if mf: return data #already filled, skip
|
||||||
async_copy_start_time = rec_vals[0]
|
async_copy_start_time = rec_vals[0]
|
||||||
async_copy_end_time = rec_vals[1]
|
async_copy_end_time = rec_vals[1]
|
||||||
|
|
||||||
|
|||||||
Verwijs in nieuw issue
Block a user