Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
f11f645f
Commit
f11f645f
authored
Oct 05, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in loading the timing manager.
parent
8f504907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/misc/tim/timDump.c
+8
-0
No files found.
src/misc/tim/timDump.c
View file @
f11f645f
...
@@ -110,6 +110,7 @@ Vec_Str_t * Tim_ManSave( Tim_Man_t * p )
...
@@ -110,6 +110,7 @@ Vec_Str_t * Tim_ManSave( Tim_Man_t * p )
Tim_Man_t
*
Tim_ManLoad
(
Vec_Str_t
*
p
)
Tim_Man_t
*
Tim_ManLoad
(
Vec_Str_t
*
p
)
{
{
Tim_Man_t
*
pMan
;
Tim_Man_t
*
pMan
;
Tim_Obj_t
*
pObj
;
int
VerNum
,
nCis
,
nCos
,
nPis
,
nPos
;
int
VerNum
,
nCis
,
nCos
,
nPis
,
nPos
;
int
nBoxes
,
nBoxIns
,
nBoxOuts
,
CopyBox
;
int
nBoxes
,
nBoxIns
,
nBoxOuts
,
CopyBox
;
int
TableId
,
nTables
,
TableSize
,
TableX
,
TableY
;
int
TableId
,
nTables
,
TableSize
,
TableX
,
TableY
;
...
@@ -174,6 +175,13 @@ Tim_Man_t * Tim_ManLoad( Vec_Str_t * p )
...
@@ -174,6 +175,13 @@ Tim_Man_t * Tim_ManLoad( Vec_Str_t * p )
Vec_PtrPush
(
pMan
->
vDelayTables
,
pDelayTable
);
Vec_PtrPush
(
pMan
->
vDelayTables
,
pDelayTable
);
}
}
assert
(
Tim_ManDelayTableNum
(
pMan
)
==
nTables
);
assert
(
Tim_ManDelayTableNum
(
pMan
)
==
nTables
);
// read PI arrival times
Tim_ManForEachPi
(
pMan
,
pObj
,
i
)
Tim_ManInitPiArrival
(
pMan
,
i
,
Vec_StrGetF
(
p
,
&
iStr
)
);
// read PO required times
Tim_ManForEachPo
(
pMan
,
pObj
,
i
)
Tim_ManInitPoRequired
(
pMan
,
i
,
Vec_StrGetF
(
p
,
&
iStr
)
);
assert
(
Vec_StrSize
(
p
)
==
iStr
);
// Tim_ManPrint( pMan );
// Tim_ManPrint( pMan );
return
pMan
;
return
pMan
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment