summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 13:40:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 13:40:18 +0000
commitc4e2eb0866114f9c1ecc1f008c11dfeb2537c5e1 (patch)
tree3dd837fb6c6edb4cac1f5e8cd9bd23c9f54d0524
parent85c8137208c748e4d731cf1ad5a57cd5f42fbf23 (diff)
from ragge; Updated to work correctly, pointed out by Tom Ivar Helbekkmo
-rw-r--r--usr.bin/gprof/vax.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/gprof/vax.c b/usr.bin/gprof/vax.c
index a02893d3973..eb8ee9ce9bf 100644
--- a/usr.bin/gprof/vax.c
+++ b/usr.bin/gprof/vax.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vax.c,v 1.5 1995/04/19 07:16:30 cgd Exp $ */
+/* $NetBSD: vax.c,v 1.6 1996/04/20 14:56:37 ragge Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)vax.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$NetBSD: vax.c,v 1.5 1995/04/19 07:16:30 cgd Exp $";
+static char rcsid[] = "$NetBSD: vax.c,v 1.6 1996/04/20 14:56:37 ragge Exp $";
#endif
#endif /* not lint */
@@ -53,14 +53,17 @@ nltype indirectchild = {
(double) 0.0 , /* ticks in this routine */
(double) 0.0 , /* cumulative ticks in children */
(long) 0 , /* how many times called */
+ (long) 0 , /* times called by live arcs */
(long) 0 , /* how many calls to self */
(double) 1.0 , /* propagation fraction */
(double) 0.0 , /* self propagation time */
(double) 0.0 , /* child propagation time */
- (bool) 0 , /* print flag */
+ (short) 0 , /* print flag */
+ (short) 0 , /* see below */
(int) 0 , /* index in the graph list */
(int) 0 , /* graph call chain top-sort order */
(int) 0 , /* internal number of cycle on */
+ (int) 0 , /* number of live parent arcs */
(struct nl *) &indirectchild , /* pointer to head of cycle */
(struct nl *) 0 , /* pointer to next member of cycle */
(arctype *) 0 , /* list of caller arcs */