[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] tmem: one-liner correcting stat parsing ordering
Small mistake in xen-tmem-list-parse.c printf ordering. Fixed this locally over a month ago, but apparently never made it into a patch I submitted. :-} Signed-off-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> diff -r b9cdcf502aa3 tools/misc/xen-tmem-list-parse.c --- a/tools/misc/xen-tmem-list-parse.c Thu Aug 06 11:14:48 2009 +0100 +++ b/tools/misc/xen-tmem-list-parse.c Tue Aug 11 15:52:44 2009 -0600 @@ -185,8 +185,8 @@ void parse_client(char *s) "eph_count=%llu,max_eph=%llu," "compression ratio=%lu%% (samples=%llu,poor=%llu,nomem=%llu)\n", cli_id, weight, cap, compress?1:0, frozen?1:0, + total_cycles, succ_eph_gets, succ_pers_puts, succ_pers_gets, eph_count, max_eph_count, - total_cycles, succ_eph_gets, succ_pers_puts, succ_pers_gets, compressed_pages ? (long)((compressed_sum_size*100LL) / (compressed_pages*PAGE_SIZE)) : 0, compressed_pages, compress_poor, compress_nomem); Attachment:
tmem-listparse-cycles.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |