Commit Graph

16 Commits

Author SHA1 Message Date
mmorel-35 1e6b445a8a gofumpt 2021-12-22 21:54:41 +00:00
shirou 0969c9436b delete v2 directory, move v3 to top #1078 2021-11-30 23:47:59 +00:00
Tom Barker 84a665b712 Add mem.SwapDevices() method. 2021-08-19 10:16:30 -04:00
Simon Thoby 3b64944534 Set the 'free' memory value to the 'available' memory on windows 2020-07-09 17:14:33 +02:00
GameXG 144c67833a
fix #863 Swap.UsedPercent is inconsistent 2020-05-03 23:27:10 +08:00
Steven Lee 3adcafe5fd mem[windows]: if no swap, just return 0 used percent default 2018-05-19 10:45:38 +08:00
shirou 0f1576d63c mem[windows]: if no swap, total and/or used is 0. 2018-05-19 09:25:20 +09:00
Chevy 699deed6c6
Fix float64 casting 2018-03-26 12:16:33 -05:00
shirou 4c73494c78 Add WithContext functions. 2017-12-31 15:25:49 +09:00
Derek Brown 7c807c86e4 Add implementation of SwapMemory() for windows 2017-09-18 18:14:29 -07:00
Sean Chittenden 635b971c0e
Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 2017-06-02 13:51:00 -07:00
Shirou WAKAYAMA 613a8a90e1 fixed by golint. 2016-04-01 21:34:39 +09:00
Shirou WAKAYAMA 7288e9a5af common[all]: add internal 2015-10-20 00:04:57 +09:00
Shirou WAKAYAMA 13cd195a7e change package name. 2014-12-30 22:09:05 +09:00
WAKAYAMA Shirou 9f2c985a28 fix windows build. 2014-11-27 22:28:05 +09:00
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 2014-11-27 10:18:15 +09:00