summaryrefslogtreecommitdiff
path: root/include/windows/automake.mk
diff options
context:
space:
mode:
authorGurucharan Shetty <gshetty@nicira.com>2014-03-06 12:55:53 -0800
committerGurucharan Shetty <gshetty@nicira.com>2014-03-06 16:35:04 -0800
commit1680d3d7e3813258f5050bb8cb10a2543c60e549 (patch)
treece9683716bcf27d79d0577564cb88d8de1ff2bd7 /include/windows/automake.mk
parentbae94bc77362b59a52c0f562e62ff96198dab9d0 (diff)
downloadopenvswitch-1680d3d7e3813258f5050bb8cb10a2543c60e549.tar.gz
getrusage-windows: getrusage() for Windows.
We use getrusage mainly to get user CPU time and system CPU time. Windows has a GetProcessTimes and GetThreadTimes that does the same job. So use them. We also use getrusage to get page faults. Use GetProcessMemoryInfo() for that. We also get number of context switches, block i/o times and use it for debug information when we wake up from poll_block late. I haven't found functions for that in Windows. We only use it for debug information, so it should be okay not implementing it. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Co-authored-by: Linda Sun <lsun@vmware.com> Signed-off-by: Linda Sun <lsun@vmware.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/windows/automake.mk')
-rw-r--r--include/windows/automake.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/windows/automake.mk b/include/windows/automake.mk
index 2771270ad..b8f144e84 100644
--- a/include/windows/automake.mk
+++ b/include/windows/automake.mk
@@ -8,4 +8,5 @@
noinst_HEADERS += \
include/windows/getopt.h \
include/windows/syslog.h \
+ include/windows/sys/resource.h \
include/windows/windefs.h