From 3a6113ab5156d10d9dd2d8292249b4bd108bfecd Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Mon, 30 Mar 2009 17:44:03 +0000 Subject: [PATCH] document and comment last change svn: r14362 original commit: a68c38b6d7c37f5d90824fbbcfc9b66f28532fa3 --- collects/profile/analyzer.ss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collects/profile/analyzer.ss b/collects/profile/analyzer.ss index 3cda3c1..a0f07e6 100644 --- a/collects/profile/analyzer.ss +++ b/collects/profile/analyzer.ss @@ -66,7 +66,8 @@ ;; This function analyzes the output of the sampler. Returns a `profile' ;; struct holding a list of `node' values, each one representing a node in the ;; call graph, with the relevant information filled in. The results are sorted -;; by the total time. +;; using a topological sort from the top, and by the total time for nodes at +;; the same level. (define (analyze-samples cpu-time+samples) (define cpu-time (car cpu-time+samples)) (define samples (cdr cpu-time+samples))