anjuta r3443 - in trunk: . plugins/profiler



Author: jhs
Date: Wed Jan  9 23:23:11 2008
New Revision: 3443
URL: http://svn.gnome.org/viewvc/anjuta?rev=3443&view=rev

Log:
2008-01-10  Johannes Schmid <jhs gnome org>

	Patch from: James Ligett:

	* plugins/profiler/gprof-call-graph-view.c:
	(gprof_call_graph_view_create_columns):
	* plugins/profiler/gprof-flat-profile-view.c:
	(gprof_flat_profile_view_create_columns):
	
	Fixed translation issues (#496833)

Modified:
   trunk/ChangeLog
   trunk/plugins/profiler/gprof-call-graph-view.c
   trunk/plugins/profiler/gprof-flat-profile-view.c

Modified: trunk/plugins/profiler/gprof-call-graph-view.c
==============================================================================
--- trunk/plugins/profiler/gprof-call-graph-view.c	(original)
+++ trunk/plugins/profiler/gprof-call-graph-view.c	Wed Jan  9 23:23:11 2008
@@ -353,6 +353,9 @@
 										
 	/* Self */
 	col = gtk_tree_view_column_new ();
+	
+	/* Total amount of time spent in this function, excluding those it calla.
+	 * This is the same as the "Seconds" field in the flat profile. */
 	gtk_tree_view_column_set_title (col, _("Self"));
 	gtk_tree_view_append_column (GTK_TREE_VIEW (functions_list_view), col);
 	renderer = gtk_cell_renderer_text_new ();
@@ -363,6 +366,8 @@
 	gtk_tree_view_column_set_reorderable (col, TRUE);
 	
 	col = gtk_tree_view_column_new ();
+	
+	/* Time spent in a subroutine of a function. */
 	gtk_tree_view_column_set_title (col, _("Self"));
 	gtk_tree_view_append_column (GTK_TREE_VIEW (called_list_view), col);
 	renderer = gtk_cell_renderer_text_new ();
@@ -373,6 +378,8 @@
 	gtk_tree_view_column_set_reorderable (col, TRUE);
 	
 	col = gtk_tree_view_column_new ();
+	
+	/* Time spent in this function when it was called by its caller */
 	gtk_tree_view_column_set_title (col, _("Self"));
 	gtk_tree_view_append_column (GTK_TREE_VIEW (called_by_list_view), col);
 	renderer = gtk_cell_renderer_text_new ();

Modified: trunk/plugins/profiler/gprof-flat-profile-view.c
==============================================================================
--- trunk/plugins/profiler/gprof-flat-profile-view.c	(original)
+++ trunk/plugins/profiler/gprof-flat-profile-view.c	Wed Jan  9 23:23:11 2008
@@ -87,6 +87,9 @@
 	
 	/* Self seconds */
 	col = gtk_tree_view_column_new ();
+	
+	/* The number of seconds that this function, excluding other functions it 
+	 * calls, takes to execute. */
 	gtk_tree_view_column_set_title (col, _("Self Seconds"));
 	gtk_tree_view_append_column (GTK_TREE_VIEW (list_view), col);
 	
@@ -109,6 +112,9 @@
 	
 	/* Self ms/call */
 	col = gtk_tree_view_column_new ();
+	
+	/* The average number of milliseconds spent in a function, excluding
+	 * the functions that it calls. */
 	gtk_tree_view_column_set_title (col, _("Self ms/call"));
 	gtk_tree_view_append_column (GTK_TREE_VIEW (list_view), col);
 	
@@ -120,6 +126,8 @@
 	
 	/* Total ms/call */
 	col = gtk_tree_view_column_new ();
+	
+	/* Same as self ms/call, but includes called functions. */
 	gtk_tree_view_column_set_title (col, _("Total ms/call"));
 	gtk_tree_view_append_column (GTK_TREE_VIEW (list_view), col);
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]