« Return to Thread: "ocaml_beginners"::[] Conditional compilation

Re: "ocaml_beginners"::[] ocamlopt -p & gprof

by Onur Ozyer :: Rate this Message:

Reply to Author | View in Thread

In ocamlopt documentation says, the -p switch is only
supported in UNIX. I'm not sure it rules out Cygwin.

Besides ocamlopt -p, adoes anyanyone have experience
with Ocaml profilers to monitor the execution time and
memory usage on Windows (with or without Cygwin) ?
Any help is appreciated : ),

Onur


--- Onur Ozyer <onurozyer@...> wrote:

> I tried this within Cygwin on Windows 2003.
> Ocaml is 3.07+2
>
> Onur
> --- Richard Jones <rich@...> wrote:
>
> > On Wed, Oct 31, 2007 at 02:24:28PM -0700, Onur
> Ozyer
> > wrote:
> > > I want to use gprof to profile the perf.
> > >
> > >
> > > I add the "-p" to ocamlopt, where the sources
> aer
> > > compiled and ML library is linked. "ocamlopt"
> > works
> > > succesfully.
> > >
> > > However, at the last step, where the executables
> > are
> > > linked, I'm having this error:
> > >
> > >     Cannot find file std_exit.p.cmx
> > >
> > > I don't have a file with "*std_exit*" Does
> anyone
> > know
> > > why it coud be happening ?
> >
> > Sounds like a packaging problem.  What operating
> > system / distribution
> > / etc?
> >
> > Rich.
> >
> > --
> > Richard Jones
> > Red Hat
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com 
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

 « Return to Thread: "ocaml_beginners"::[] Conditional compilation