WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] adjust performance counter printing

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] adjust performance counter printing
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 02 May 2006 16:21:27 +0200
Delivery-date: Tue, 02 May 2006 07:21:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patch conditionalizes some output from perfc_printall(), thus making 
relevant information more compact and easier
legible. It additionally changes the formatting so that trailing spaces are 
avoided.

Also changing the type of some variables from plain int to unsigned int, as 
that is yielding more efficient code on
x86-64 (signed 32-bit array indices require explicit sign extension, whereas in 
most cases an extra copy can be avoided
when the index type is unsigned, since all 32-bit operations already 
zero-extend their results).

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Attachment: xen-perfc-formatting.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] adjust performance counter printing, Jan Beulich <=