diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-05-10 15:39:02 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-05-10 15:39:02 +0000 |
commit | c29e693388663aaa42f041965258fa6b6bafc938 (patch) | |
tree | ab06a3773afd17d0f5c68cfa860817406fa5b670 /winsup/cygwin/autoload.cc | |
parent | 6cfbf1a573bb6fe2d0d986eeaaa0992bd9e0c176 (diff) | |
download | cygnal-c29e693388663aaa42f041965258fa6b6bafc938.tar.gz cygnal-c29e693388663aaa42f041965258fa6b6bafc938.tar.bz2 cygnal-c29e693388663aaa42f041965258fa6b6bafc938.zip |
* fhandler_proc.cc (format_proc_uptime): Don't call GetSystemInfo.
Fetch CPU count from wincap.
(format_proc_stat): Ditto.
* globals.cc (system_info): Move to wincap.
* heap.cc (heap_init): Fetch page size from wincap.
* syscalls.cc (getpagesize): Fetch allocation granularity from wincap.
(getsystempagesize): Fetch page size from wincap.
* wincap.cc (wincap_2003): Default is_server to false.
(wincapc::init): Call GetSystemInfo here. Always set is_server value.
* wincap.h (class wincapc): Add system_info as private member.
(wincapc::cpu_count): New public method.
(wincapc::page_size): Ditto.
(wincapc::allocation_granularity): Ditto.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
0 files changed, 0 insertions, 0 deletions