From: simonmar Date: Tue, 29 Oct 2002 15:43:12 +0000 (+0000) Subject: [project @ 2002-10-29 15:43:12 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1494 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ad39b3878fec1fd85b6d6ec175f68510fc05d815;p=ghc-hetmet.git [project @ 2002-10-29 15:43:12 by simonmar] Add a note about where the time spent in foreign code is attributed. --- diff --git a/ghc/docs/users_guide/profiling.sgml b/ghc/docs/users_guide/profiling.sgml index 4bb22a1..6621645 100644 --- a/ghc/docs/users_guide/profiling.sgml +++ b/ghc/docs/users_guide/profiling.sgml @@ -292,6 +292,12 @@ MAIN MAIN 0 0.0 0.0 100.0 100.0 variable.. Notice that this is a recursive definition. + + + Time spent in foreign code (see ) + is always attributed to the cost centre in force at the + Haskell call-site of the foreign function. + What do we mean by one-off costs? Well, Haskell is a lazy @@ -327,7 +333,6 @@ x = nfib 25 doesn't look like you expect it to, feel free to send it (and your program) to us at glasgow-haskell-bugs@haskell.org. -