|
From: shelarcy <she...@gm...> - 2008-02-27 05:30:04
|
Hi Eric,
On Wed, 27 Feb 2008 06:55:48 +0900, Eric Kow <eri...@gm...> wrote:
> I'm not sure if this really is working yet.
You forgot to add installing phase for profiling library.
So I fixed that in attached profiling.dpatch file.
> Tue Feb 26 21:51:55 GMT 2008 Eric Kow <eri...@gm...>
> * Add a configure option to enable wxcore profiling.
>
> (snip)
>
> hunk ./configure 343
> + --with-hc=3D*)
> + hc=3D"$arg";;
Is this typo?
Do you want to write below code in this place?
-with-hcprof|--with-hcprof)
enableprof="yes";;
-with-hcpkg=*|--with-hcprof=*)
hcprof="$arg"
enableprof="yes";;
I don't fixed this part yet. Because I want to know what you intended.
> Notes:
> - this doesn't work with Cabal (unless you use --with-configure-opts) because
> the Make buildtype doesn't pass along the information we need (at least to
> my awareness).
Okay, I know that.
> - I haven't tried it out yet.
I tried to use profiling library on Windows.
$ ghc --make STCEvent.hs -prof
$ STCEvent +RTS -p
Okay, profiling library works.
Attached archive is a report that was made by profiling library and RTS.
Best Regards,
--
shelarcy <shelarcy hotmail.co.jp>
http://page.freett.com/shelarcy/ |