--------------------- PatchSet 2581 Date: 2001/07/06 12:44:57 Author: akroonmaa Branch: cpuProfiling Tag: (none) Log: we want to keep some general stats always on top, and yet be more dynamic. Members: src/ProfStats.c:1.1.2.3->1.1.2.4 Index: squid/src/ProfStats.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/ProfStats.c,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- squid/src/ProfStats.c 9 May 2001 22:20:55 -0000 1.1.2.3 +++ squid/src/ProfStats.c 6 Jul 2001 12:44:57 -0000 1.1.2.4 @@ -98,7 +98,7 @@ for (i = 0; i < XPROF_LAST; i++) { sortlist[i] = xprof_list[i]; } - qsort(&sortlist[3], XPROF_LAST - 3, sizeof(xprof_stats_node *), (QS *) xprof_comp); + qsort(&sortlist[XPROF_hash_lookup], XPROF_LAST - XPROF_hash_lookup, sizeof(xprof_stats_node *), (QS *) xprof_comp); } static double time_frame;