<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openvswitch.git/include/windows/sys, branch master</title>
<subtitle>github.com: openvswitch/ovs.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/'/>
<entry>
<title>windows: Add definition of getrusage</title>
<updated>2017-03-07T21:32:21+00:00</updated>
<author>
<name>Alin Serdean</name>
<email>aserdean@cloudbasesolutions.com</email>
</author>
<published>2017-02-06T04:41:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=dc4be6562d375f059ddaab190c62d15e1379e223'/>
<id>dc4be6562d375f059ddaab190c62d15e1379e223</id>
<content type='text'>
getrusage is implemented in lib/getrusage-windows.c.

This patch just adds its definition to include/windows/sys/resource.h,
which serves for files that include &lt;sys/resource.h&gt;.

Signed-off-by: Alin Gabriel Serdean &lt;aserdean@cloudbasesolutions.com&gt;
Acked-by: Sairam Venugopal &lt;vsairam@vmware.com&gt;
Signed-off-by: Gurucharan Shetty &lt;guru@ovn.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
getrusage is implemented in lib/getrusage-windows.c.

This patch just adds its definition to include/windows/sys/resource.h,
which serves for files that include &lt;sys/resource.h&gt;.

Signed-off-by: Alin Gabriel Serdean &lt;aserdean@cloudbasesolutions.com&gt;
Acked-by: Sairam Venugopal &lt;vsairam@vmware.com&gt;
Signed-off-by: Gurucharan Shetty &lt;guru@ovn.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare include headers</title>
<updated>2014-08-13T16:00:19+00:00</updated>
<author>
<name>Alin Serdean</name>
<email>aserdean@cloudbasesolutions.com</email>
</author>
<published>2014-08-13T15:16:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=e655917a7c00cb9079cf5466be0b3b0166de83f1'/>
<id>e655917a7c00cb9079cf5466be0b3b0166de83f1</id>
<content type='text'>
Preparing the include headers needed to compile dpif-linux.c with MSVC.

Signed-off-by: Alin Gabriel Serdean &lt;aserdean@cloudbasesolutions.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Preparing the include headers needed to compile dpif-linux.c with MSVC.

Signed-off-by: Alin Gabriel Serdean &lt;aserdean@cloudbasesolutions.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>No newline at end of file</title>
<updated>2014-08-13T15:58:46+00:00</updated>
<author>
<name>Alin Serdean</name>
<email>aserdean@cloudbasesolutions.com</email>
</author>
<published>2014-08-13T15:15:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=22861b8ce6f02fb462bc7286ee4900c8a05d514a'/>
<id>22861b8ce6f02fb462bc7286ee4900c8a05d514a</id>
<content type='text'>
Adding newline at end of the following files: packet.h, uio.h.

Signed-off-by: Alin Gabriel Serdean &lt;aserdean@cloudbasesolutions.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding newline at end of the following files: packet.h, uio.h.

Signed-off-by: Alin Gabriel Serdean &lt;aserdean@cloudbasesolutions.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add defines, enums and headers for MSVC</title>
<updated>2014-07-29T16:28:31+00:00</updated>
<author>
<name>Alin Serdean</name>
<email>aserdean@cloudbasesolutions.com</email>
</author>
<published>2014-07-29T15:21:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=cafc0664aa93c9baaa75296b1e95f718706dcc28'/>
<id>cafc0664aa93c9baaa75296b1e95f718706dcc28</id>
<content type='text'>
Add defines needed to compile netlink-socket.c and netlink.c.

Add a wrapper and the functionality behind it for syconf.

Add the newly created files to the noinst_HEADERS in windows/automake.mk

Signed-off-by: Alin Gabriel Serdean &lt;aserdean@cloudbasesolutions.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add defines needed to compile netlink-socket.c and netlink.c.

Add a wrapper and the functionality behind it for syconf.

Add the newly created files to the noinst_HEADERS in windows/automake.mk

Signed-off-by: Alin Gabriel Serdean &lt;aserdean@cloudbasesolutions.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>windows/sys: Define sa_family_t for easy compilation.</title>
<updated>2014-03-13T21:26:19+00:00</updated>
<author>
<name>Gurucharan Shetty</name>
<email>gshetty@nicira.com</email>
</author>
<published>2014-03-12T16:47:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=1d7c9c6573827505da9b574507e69e7a69069cab'/>
<id>1d7c9c6573827505da9b574507e69e7a69069cab</id>
<content type='text'>
Signed-off-by: Gurucharan Shetty &lt;gshetty@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gurucharan Shetty &lt;gshetty@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>windows: Add stub headers for windows.</title>
<updated>2014-03-12T03:35:57+00:00</updated>
<author>
<name>Gurucharan Shetty</name>
<email>gshetty@nicira.com</email>
</author>
<published>2014-03-10T17:06:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=5e3411b1a15d2dd927cb59cd81da78cf3198dde5'/>
<id>5e3411b1a15d2dd927cb59cd81da78cf3198dde5</id>
<content type='text'>
Windows does not have a bunch of headers that
are available in Linux. Instead of littering the code
with #ifndef _WIN32, add stub headers.

Signed-off-by: Gurucharan Shetty &lt;gshetty@nicira.com&gt;
Acked-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows does not have a bunch of headers that
are available in Linux. Instead of littering the code
with #ifndef _WIN32, add stub headers.

Signed-off-by: Gurucharan Shetty &lt;gshetty@nicira.com&gt;
Acked-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>getrusage-windows: getrusage() for Windows.</title>
<updated>2014-03-07T00:35:04+00:00</updated>
<author>
<name>Gurucharan Shetty</name>
<email>gshetty@nicira.com</email>
</author>
<published>2014-03-06T20:55:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=1680d3d7e3813258f5050bb8cb10a2543c60e549'/>
<id>1680d3d7e3813258f5050bb8cb10a2543c60e549</id>
<content type='text'>
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 &lt;gshetty@nicira.com&gt;
Co-authored-by: Linda Sun &lt;lsun@vmware.com&gt;
Signed-off-by: Linda Sun &lt;lsun@vmware.com&gt;
Acked-by: Ben Pfaff &lt;blp@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;gshetty@nicira.com&gt;
Co-authored-by: Linda Sun &lt;lsun@vmware.com&gt;
Signed-off-by: Linda Sun &lt;lsun@vmware.com&gt;
Acked-by: Ben Pfaff &lt;blp@nicira.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
