mirror of https://github.com/YosysHQ/abc.git
Suggested fix to compile on FreeBSD.
This commit is contained in:
parent
30a06d002a
commit
00fb1d706b
|
|
@ -80,11 +80,13 @@ ABC_NAMESPACE_IMPL_END
|
|||
|
||||
ABC_NAMESPACE_IMPL_START
|
||||
|
||||
using namespace Gluco;
|
||||
|
||||
double Gluco::memUsed(void) {
|
||||
struct rusage ru;
|
||||
getrusage(RUSAGE_SELF, &ru);
|
||||
return (double)ru.ru_maxrss / 1024; }
|
||||
double MiniSat::memUsedPeak(void) { return memUsed(); }
|
||||
double memUsedPeak(void) { return memUsed(); }
|
||||
|
||||
ABC_NAMESPACE_IMPL_END
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue