diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2015-05-25 18:14:12 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2015-05-25 18:14:12 +0200 |
commit | 48ad3d9ece36f8f0404b431ebaf75557bb721ac8 (patch) | |
tree | cdb1ffb33c049a8204f0b1868b940d767201c9a6 /src/biruda.c | |
parent | 66079abd1083a00f165b8fc62eec885f872b903c (diff) | |
download | biruda-48ad3d9ece36f8f0404b431ebaf75557bb721ac8.tar.gz biruda-48ad3d9ece36f8f0404b431ebaf75557bb721ac8.tar.bz2 |
added system_phys_memory (implemented on Windows)
Diffstat (limited to 'src/biruda.c')
-rw-r--r-- | src/biruda.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/biruda.c b/src/biruda.c index e150627..ea1fce5 100644 --- a/src/biruda.c +++ b/src/biruda.c @@ -204,6 +204,8 @@ static void print_config( struct gengetopt_args_info *args_info, cfg_t *cfg ) unsigned int nofCpus = system_available_cpus( ); puts( "Environment:" ); printf( " Number of CPUs: %d\n", nofCpus ); + int physMem = system_phys_memory( ); + printf( " Physical memory available: %d MB\n", physMem ); char machine_arch[100]; system_arch( machine_arch, sizeof( machine_arch ) ); printf( " System architecture: %s\n", machine_arch ); |