<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/meminfo/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/meminfo/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 13 Feb 2015 19:05:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/meminfo/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Thomas Sparber</title><link>https://sourceforge.net/p/meminfo/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,44 @@
-Welcome to your wiki!
+###Hi C/C++ developer!

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+[[download_button]]

-The wiki uses [Markdown](/p/meminfo/wiki/markdown_syntax/) syntax.
+With meminfo you can get memory information about your process or other processes.

-[[members limit=20]]
-[[download_button]]
+##Example
+**The following code demonstrates how it works:**
+~~~~~~
+//Initial memory usage
+printMemUsage();
+
+//Memory usage after stack allocation
+char c[1024];
+printMemUsage();
+
+//Memory usage after heap allocation
+char *test = (char*)malloc(sizeof(char) * 409600);
+printMemUsage();
+
+//Memory usage after heap deallocation
+free(test);
+printMemUsage();
+~~~~~~
+
+**printMemUsage does the following:**
+~~~~~~
+static struct meminfo m;
+get_own_meminfo(&amp;amp;m);
+printf("Referenced: %d kB\n", m.referenced_KB);
+~~~~~~
+
+**This will print the following:**
+*Referenced: 468 kB*
+*Referenced: 480 kB*
+*Referenced: 484 kB*
+*Referenced: 480 kB*
+
+This code is included in test.c
+
+##Performance
+My Raspberry Pi is able to perform 1000 measures in 1.51 seconds
+
+##Thanks and have fun coding!
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 13 Feb 2015 19:05:36 -0000</pubDate><guid>https://sourceforge.net3402e77d53bacc32558e1887e5e288ee30e5bb4c</guid></item><item><title>Home modified by Thomas Sparber</title><link>https://sourceforge.net/p/meminfo/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/meminfo/wiki/markdown_syntax"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/tommy-infancy"&gt;Thomas Sparber&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-54ddfd39ea406b06cd45032e" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Sparber</dc:creator><pubDate>Fri, 13 Feb 2015 13:33:45 -0000</pubDate><guid>https://sourceforge.net90f6af56dd2f614f6f4ae7b086f810c419bca020</guid></item></channel></rss>