aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-02-19 13:10:06 +0000
committerRon Yorston <rmy@pobox.com>2021-02-19 13:10:06 +0000
commit5369ddc1db797a96cced91bd467d172d41d41f9d (patch)
treee23a4a4d60c911dee512185cd4bc98429ebe0d1a /init
parentb4fcd6e378f30ffa36a87617d4c9e6113f70308d (diff)
downloadbusybox-w32-5369ddc1db797a96cced91bd467d172d41d41f9d.tar.gz
busybox-w32-5369ddc1db797a96cced91bd467d172d41d41f9d.tar.bz2
busybox-w32-5369ddc1db797a96cced91bd467d172d41d41f9d.zip
win32: update sysinfo(2) implementation
Add a call to GetPerformanceInfo. Treat the SystemCache member of the PERFORMANCE_INFORMATION structure as buffer RAM. Deduct it from available RAM. The numbers reported by 'free' move about in vaguely sensible ways when I start and stop programs, though I still don't know if they're in any way accurate.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions