lkml.org 
[lkml]   [2004]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0
From
Denis Vlasenko wrote:
>
> <shameless plug>
> Maybe this program will be useful. It is designed to give you
> overall system statistics without the need to scan entire /proc/NNN
> forest. Together with nice -20, it will hopefully not stall.
>
> Compiled with dietlibc. If you will have trouble compiling it,
> binary is attached too.
>
> Latest version is 0.9 but it seems I forgot it in my home box :(
</shameless plug>

Thanks for nmeter. I have changed a couple of little bits to build with
gcc-3.4 here (see diff attached).

Indeed, it says 0.7 as its version string. What's up on 0.9?
--
rncbc aka Rui Nuno Capela
rncbc@rncbc.org

--- nmeter.c.orig 2004-10-26 10:01:00.579922368 +0100
+++ nmeter.c 2004-10-26 09:59:48.525876248 +0100
@@ -59,15 +59,15 @@
char outbuf[4096];
char *cur_outbuf = outbuf;

-extern inline void reset_outbuf() {
+inline void reset_outbuf() {
cur_outbuf = outbuf;
}

-extern inline int outbuf_count() {
+inline int outbuf_count() {
return cur_outbuf-outbuf;
}

-extern inline void print_outbuf() {
+inline void print_outbuf() {
if(cur_outbuf>outbuf) {
write(1, outbuf, cur_outbuf-outbuf);
cur_outbuf = outbuf;
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.396 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site