blob: 1cedb180644bd46100efe7a1b484fd48d4d0d95d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* system.c: System information
*
* Author:
* Dick Porter (dick@ximian.com)
*
* (C) 2002 Ximian, Inc.
*/
#include <config.h>
#include <glib.h>
#include <sys/time.h>
#include <stdlib.h>
#include <unistd.h>
#include "mono/io-layer/wapi.h"
void GetSystemInfo(WapiSystemInfo *info)
{
info->dwPageSize=getpagesize();
/* Fill in the rest of this junk. Maybe with libgtop */
info->dwNumberOfProcessors=1;
}
|