From 96478de5d1efef8597f48d926b70789834a47367 Mon Sep 17 00:00:00 2001 From: simonpj <unknown> Date: Thu, 14 Oct 1999 13:44:55 +0000 Subject: [PATCH] [project @ 1999-10-14 13:44:55 by simonpj] Swap ticky column order --- ghc/rts/Ticky.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ghc/rts/Ticky.c b/ghc/rts/Ticky.c index dbbdcdb0a1f7..f4244e37bb22 100644 --- a/ghc/rts/Ticky.c +++ b/ghc/rts/Ticky.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Ticky.c,v 1.10 1999/10/13 16:39:24 simonmar Exp $ + * $Id: Ticky.c,v 1.11 1999/10/14 13:44:55 simonpj Exp $ * * (c) The AQUA project, Glasgow University, 1992-1997 * (c) The GHC Team, 1998-1999 @@ -550,19 +550,19 @@ printRegisteredCounterInfo (FILE *tf) if ( ticky_entry_ctrs != NULL ) { fprintf(tf,"\n**************************************************\n\n"); } - fprintf(tf, "%-30s %6s%6s %-16s%-11s%-11s\n", - "Function", "Arity", "Stack", "Kinds", "Entries", - "Allocs"); + fprintf(tf, "%-11s%-11s %6s%6s %-16s%-30s\n", + "Entries", "Allocs", "Arity", "Stack", "Kinds", "Function"); fprintf(tf, "--------------------------------------------------------------------------------\n"); + /* Function name at the end so it doesn't mess up the tabulation */ for (p = ticky_entry_ctrs; p != NULL; p = p->link) { - fprintf(tf, "%-30s%6u%6u %-11s%11ld%11ld", - p->str, + fprintf(tf, "%11ld%11ld%6u%6u %-11s%-30s", + p->ctr, + p->allocs, p->arity, p->stk_args, p->arg_kinds, - p->ctr, - p->allocs); + p->str); fprintf(tf, "\n"); -- GitLab