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
825bcd82
Commit
825bcd82
authored
Sep 11, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added code to collect experimental results.
parent
4c06c8af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/aig/gia/giaAbsGla.c
+2
-2
src/aig/gia/giaAbsGla2.c
+2
-2
No files found.
src/aig/gia/giaAbsGla.c
View file @
825bcd82
...
...
@@ -1537,7 +1537,6 @@ void Gla_ManAbsPrintFrame( Gla_Man_t * p, int nCoreSize, int nFrames, int nConfl
}
void
Gla_ManReportMemory
(
Gla_Man_t
*
p
)
{
extern
void
Ga2_ManDumpStats
(
Gia_Man_t
*
pGia
,
Gia_ParVta_t
*
pPars
,
sat_solver2
*
pSat
,
int
iFrame
,
int
fUseN
);
Gla_Obj_t
*
pGla
;
double
memTot
=
0
;
double
memAig
=
Gia_ManObjNum
(
p
->
pGia
)
*
sizeof
(
Gia_Obj_t
);
...
...
@@ -1559,7 +1558,6 @@ void Gla_ManReportMemory( Gla_Man_t * p )
ABC_PRMP
(
"Memory: Refine "
,
memRef
,
memTot
);
ABC_PRMP
(
"Memory: Other "
,
memOth
,
memTot
);
ABC_PRMP
(
"Memory: TOTAL "
,
memTot
,
memTot
);
// Ga2_ManDumpStats( p->pGia, p->pPars, p->pSat, p->pPars->iFrame, 1 );
}
...
...
@@ -1642,6 +1640,7 @@ void Gia_GlaDumpAbsracted( Gla_Man_t * p, int fVerbose )
int
Gia_GlaPerform
(
Gia_Man_t
*
pAig
,
Gia_ParVta_t
*
pPars
,
int
fStartVta
)
{
extern
int
Gia_VtaPerformInt
(
Gia_Man_t
*
pAig
,
Gia_ParVta_t
*
pPars
);
extern
void
Ga2_ManDumpStats
(
Gia_Man_t
*
pGia
,
Gia_ParVta_t
*
pPars
,
sat_solver2
*
pSat
,
int
iFrame
,
int
fUseN
);
Gla_Man_t
*
p
;
Vec_Int_t
*
vPPis
,
*
vCore
;
//, * vCore2 = NULL;
Abc_Cex_t
*
pCex
=
NULL
;
...
...
@@ -1944,6 +1943,7 @@ finish:
ABC_PRTP
(
"Runtime: TOTAL "
,
clock
()
-
clk
,
clock
()
-
clk
);
Gla_ManReportMemory
(
p
);
}
Ga2_ManDumpStats
(
pAig
,
p
->
pPars
,
p
->
pSat
,
p
->
pPars
->
iFrame
,
1
);
Gla_ManStop
(
p
);
fflush
(
stdout
);
return
RetValue
;
...
...
src/aig/gia/giaAbsGla2.c
View file @
825bcd82
...
...
@@ -415,7 +415,7 @@ void Ga2_ManDumpStats( Gia_Man_t * pGia, Gia_ParVta_t * pPars, sat_solver2 * pSa
char
pFileName
[
32
];
sprintf
(
pFileName
,
"stats_gla%s%s.txt"
,
fUseN
?
"n"
:
""
,
pPars
->
fUseFullProof
?
"p"
:
""
);
pFile
=
fopen
(
pFileName
,
"
wb
+"
);
pFile
=
fopen
(
pFileName
,
"
a
+"
);
fprintf
(
pFile
,
"%s pi=%d ff=%d and=%d mem=%d bmc=%d"
,
pGia
->
pName
,
...
...
@@ -458,7 +458,6 @@ void Ga2_ManReportMemory( Ga2_Man_t * p )
ABC_PRMP
(
"Memory: Hash "
,
memHash
,
memTot
);
ABC_PRMP
(
"Memory: Other "
,
memOth
,
memTot
);
ABC_PRMP
(
"Memory: TOTAL "
,
memTot
,
memTot
);
// Ga2_ManDumpStats( p->pGia, p->pPars, p->pSat, p->pPars->iFrameProved, 0 );
}
void
Ga2_ManStop
(
Ga2_Man_t
*
p
)
{
...
...
@@ -1822,6 +1821,7 @@ finish:
ABC_PRTP
(
"Runtime: TOTAL "
,
clock
()
-
clk
,
clock
()
-
clk
);
Ga2_ManReportMemory
(
p
);
}
Ga2_ManDumpStats
(
p
->
pGia
,
p
->
pPars
,
p
->
pSat
,
p
->
pPars
->
iFrameProved
,
0
);
Ga2_ManStop
(
p
);
fflush
(
stdout
);
return
RetValue
;
...
...
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