[Cbe-oss-dev] [PATCH] spu-tools: Better help for Per-Process view

Andre Detsch adetsch at br.ibm.com
Fri Mar 14 06:41:02 EST 2008


Making Per-Process view explanation a bit clearer (--help and man page).

Signed-off-by: Andre Detsch <adetsch at br.ibm.com>

Index: libspe2/tools/spu-tools/spu-tools.spec
===================================================================
--- libspe2.orig/tools/spu-tools/spu-tools.spec
+++ libspe2/tools/spu-tools/spu-tools.spec
@@ -1,7 +1,7 @@
 Summary: user space tools for Cell/B.E.
 Name: spu-tools
-Version: 1.0
-Release: 2
+Version: 1.1
+Release: 1
 License: GPL
 Group: Applications/System
 Source0: spu-tools.tar.bz2
@@ -42,6 +42,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir /%{_prefix}/share/man/man1/spu-ps.1.gz

 %changelog
+* Thu Mar 13 2008 Andre Detsch <adetsch at br.ibm.com> 1.1-1
+- Making Per-Process view explanation a bit clearer.
+
 * Thu Jun 14 2007  Andre Detsch <adetsch at br.ibm.com> 1.0-2
 - Setting BuildRoot at spec file.
 - General fixes (src/ChangeLog)
Index: libspe2/tools/spu-tools/src/ChangeLog
===================================================================
--- libspe2.orig/tools/spu-tools/src/ChangeLog
+++ libspe2/tools/spu-tools/src/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-13 Andre Detsch <adetsch at br.ibm.com>
+
+	* spu-top.c: making Per-Process view explanation a bit clearer.
+
+
 2007-07-11 Andre Detsch <adetsch at br.ibm.com>

 	* ctx-info.c: do not adding loaded time to ctx total time field.
@@ -6,17 +11,17 @@

 	* proc-info.c: giving %SPU field one more screen column.
 	* spu-ps.c, ctx-info.c: disabling %SPU field on spu-ps.
-
+
 2007-06-14 Andre Detsch <adetsch at br.ibm.com>

 	* ctx-info.c, spu-info.c: added missing word in CTX_PPE_LIBRARY and
 	SPU_PPE_LIBRARY fields textual description.
 	* spu-ps.c: fix on --fields= option handling.
-	* spu-top.c: fixed handling of 'D'/'A' keys (change sort order to
+	* spu-top.c: fixed handling of 'D'/'A' keys (change sort order to
 	descending/ascending).
         * proc-info.c: removed potential memory leak.
 	* spu-top.c: do not printing garbage when all fields are hidden.
-
+
 2007-06-05  Markus Deuling  <deuling at de.ibm.com>

 	* spu-info.c (spu_update): Remove error msg after fopen.
Index: libspe2/tools/spu-tools/src/spu-top.c
===================================================================
--- libspe2.orig/tools/spu-tools/src/spu-top.c
+++ libspe2/tools/spu-tools/src/spu-top.c
@@ -343,7 +343,9 @@ static void usage()
 		"The spu-top program provides a dynamic real-time view of the\n"
 		"running system in regards to Cell/B.E. SPUs. It provides 3 view modes:""\n\n"
 		"* Per-Context: information about all instantiated SPU contexts.""\n\n"
-		"* Per-Process: information about each process that has associated SPU contexts.""\n\n"
+		"* Per-Process: same information as in Per-Context view, but consolidating\n"
+		"all data from the contexts belonging to a same process in a single line.\n"
+		"That means that statistics such as spu usage may reach number_of_spus * 100%%.\n\n"
 		"* Per-SPU: information about each physical SPU present on the system.""\n\n"
 		"Selection of mode and shown fields can be done within the program.""\n"
 		"Press 'h' while running spu-top for help on the interactive commands.""\n\n"



More information about the cbe-oss-dev mailing list