#include resource.h added, fcn parameter void
This commit is contained in:
parent
3a72b8e562
commit
9a83e6705c
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include "ngspice/ngspice.h"
|
||||
#include "resource.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#undef BOOLEAN
|
||||
|
|
@ -29,7 +30,7 @@
|
|||
/**
|
||||
* Returns the size of available memory (RAM) in bytes.
|
||||
*/
|
||||
unsigned long long getAvailableMemorySize( )
|
||||
unsigned long long getAvailableMemorySize(void)
|
||||
{
|
||||
#if defined(HAVE__PROC_MEMINFO)
|
||||
/* Cygwin , Linux--------------------------------- */
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
#include "ngspice/ngspice.h"
|
||||
#include "resource.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#undef BOOLEAN
|
||||
|
|
@ -29,7 +30,7 @@
|
|||
/**
|
||||
* Returns the size of physical memory (RAM) in bytes.
|
||||
*/
|
||||
unsigned long long getMemorySize()
|
||||
unsigned long long getMemorySize(void)
|
||||
{
|
||||
#if defined(HAVE__PROC_MEMINFO)
|
||||
/* Cygwin , Linux--------------------------------- */
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
#include "ngspice/ngspice.h"
|
||||
#include "resource.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#undef BOOLEAN
|
||||
|
|
@ -39,7 +40,7 @@
|
|||
* memory use) measured in bytes, or zero if the value cannot be
|
||||
* determined on this OS.
|
||||
*/
|
||||
unsigned long long getPeakRSS()
|
||||
unsigned long long getPeakRSS(void)
|
||||
{
|
||||
#if defined(HAVE__PROC_MEMINFO)
|
||||
/* Linux ---------------------------------------------------- */
|
||||
|
|
@ -100,7 +101,7 @@ unsigned long long getPeakRSS()
|
|||
* Returns the current resident set size (physical memory use) measured
|
||||
* in bytes, or zero if the value cannot be determined on this OS.
|
||||
*/
|
||||
unsigned long long getCurrentRSS( )
|
||||
unsigned long long getCurrentRSS(void)
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
/* Windows -------------------------------------------------- */
|
||||
|
|
|
|||
Loading…
Reference in New Issue