Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/RB-2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Jan 11, 2017
2 parents a86aedf + 34b949b commit 9621da1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions Engine/MemoryInfo.cpp
Expand Up @@ -151,6 +151,8 @@ printAsRAM(U64 bytes)
return QCoreApplication::translate("MemoryInfo", "%1 byte(s)").arg( QLocale().toString( (uint)bytes ) );
}


#if 0 // not used for now
/**
* Returns the peak (maximum so far) resident set size (physical
* memory use) measured in bytes, or zero if the value cannot be
Expand Down Expand Up @@ -200,7 +202,9 @@ getPeakRSS( )
return (size_t)0L; /* Unsupported. */
#endif
}
#endif // 0

#if 0 // not used for now
/**
* Returns the current resident set size (physical memory use) measured
* in bytes, or zero if the value cannot be determined on this OS.
Expand Down Expand Up @@ -257,6 +261,8 @@ getCurrentRSS( )
return (size_t)0L; /* Unsupported. */
#endif
} // getCurrentRSS
#endif // 0


std::size_t
getAmountFreePhysicalRAM()
Expand Down
2 changes: 2 additions & 0 deletions Engine/MemoryInfo.h
Expand Up @@ -49,6 +49,7 @@ U64 getSystemTotalRAM_conditionnally();
// prints RAM value as KB, MB or GB
QString printAsRAM(U64 bytes);

#if 0 // not used for now
/**
* Returns the peak (maximum so far) resident set size (physical
* memory use) measured in bytes, or zero if the value cannot be
Expand All @@ -61,6 +62,7 @@ std::size_t getPeakRSS( );
* in bytes, or zero if the value cannot be determined on this OS.
*/
std::size_t getCurrentRSS( );
#endif // 0

std::size_t getAmountFreePhysicalRAM();

Expand Down
12 changes: 6 additions & 6 deletions libs.pri
Expand Up @@ -74,15 +74,15 @@ CONFIG += static-libmv static-openmvg static-hoedown static-libtess static-seria

win32-msvc*{
CONFIG(64bit) {
CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Engine/x64/release/ -lEngine
CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Engine/x64/debug/ -lEngine
CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Engine/x64/release/ -lEngine -lpsapi
CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Engine/x64/debug/ -lEngine -lpsapi
} else {
CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Engine/win32/release/ -lEngine
CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Engine/win32/debug/ -lEngine
CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Engine/win32/release/ -lEngine -lpsapi
CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Engine/win32/debug/ -lEngine -lpsapi
}
} else {
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Engine/release/ -lEngine
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Engine/debug/ -lEngine
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Engine/release/ -lEngine -lpsapi
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Engine/debug/ -lEngine -lpsapi
else:*-xcode:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Engine/build/Release/ -lEngine
else:*-xcode:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Engine/build/Debug/ -lEngine
else:unix: LIBS += -L$$OUT_PWD/../Engine/ -lEngine
Expand Down

0 comments on commit 9621da1

Please sign in to comment.