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
00fb1d70
Commit
00fb1d70
authored
Feb 04, 2018
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suggested fix to compile on FreeBSD.
parent
30a06d00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
src/sat/glucose/System.cpp
+3
-1
No files found.
src/sat/glucose/System.cpp
View file @
00fb1d70
...
@@ -80,11 +80,13 @@ ABC_NAMESPACE_IMPL_END
...
@@ -80,11 +80,13 @@ ABC_NAMESPACE_IMPL_END
ABC_NAMESPACE_IMPL_START
ABC_NAMESPACE_IMPL_START
using
namespace
Gluco
;
double
Gluco
::
memUsed
(
void
)
{
double
Gluco
::
memUsed
(
void
)
{
struct
rusage
ru
;
struct
rusage
ru
;
getrusage
(
RUSAGE_SELF
,
&
ru
);
getrusage
(
RUSAGE_SELF
,
&
ru
);
return
(
double
)
ru
.
ru_maxrss
/
1024
;
}
return
(
double
)
ru
.
ru_maxrss
/
1024
;
}
double
MiniSat
::
memUsedPeak
(
void
)
{
return
memUsed
();
}
double
memUsedPeak
(
void
)
{
return
memUsed
();
}
ABC_NAMESPACE_IMPL_END
ABC_NAMESPACE_IMPL_END
...
...
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