Profiling programs

View: New views
3 Messages — Rating Filter:   Alert me  

Profiling programs

by Bernd Gutmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I wanted to use the tick profiler to see how slow my programs really  
are.
The YAP docu says,
that :- profinit. will switch it on and :- profon. will start the  
profiling.

Unfortunately, both times YAP answers No.
Do I have to configure YAP with some extra flags? Currently, I don't  
give any.
And if, which would it be? The docu is not very specific about that.

I tried already
  --enable-wam-profile
but YAP wouldn't compile (under Mac OS X, latest yap-5 from GIT).

Any ideas?
Bernd

------------------------------------------------------------------------------
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: Profiling programs

by Paulo Moura :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 2009/06/30, at 15:44, Bernd Gutmann wrote:

> I wanted to use the tick profiler to see how slow my programs really
> are.
> The YAP docu says,
> that :- profinit. will switch it on and :- profon. will start the
> profiling.
>
> Unfortunately, both times YAP answers No.
> Do I have to configure YAP with some extra flags? Currently, I don't
> give any.
> And if, which would it be? The docu is not very specific about that.
>
> I tried already
>  --enable-wam-profile
> but YAP wouldn't compile (under Mac OS X, latest yap-5 from GIT).


Current development is focused on the yap-6 git. I suggest you try  
this version instead.

Cheers,

Paulo


-----------------------------------------------------------------
Paulo Jorge Lopes de Moura, PhD
Assistant Professor
Dep. of Computer Science, University of Beira Interior
6201-001 Covilhã, Portugal

Office 3.18  Ext. 3276
Phone: +351 275319891 Fax: +351 275319899
Email: <mailto:pmoura@...>

Home page: <http://www.di.ubi.pt/~pmoura>
Research:  <http://logtalk.org/> Blog: <http://blog.logtalk.org/>
-----------------------------------------------------------------







------------------------------------------------------------------------------
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: Profiling programs

by Vitor Santos Costa-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi bernd

>> I wanted to use the tick profiler to see how slow my programs really
>> are.

I'm sure they're fast :)

>> The YAP docu says,
>> that :- profinit. will switch it on and :- profon. will start the
>> profiling.
>>

That works fine for me and needs no special flags, but Paulo is right,
I mostly been using yap-6. Can you please give it a try, I remember
Leopard has made some changes to the interface so I may have disabled
it in yap-5 Leopard.

>> Unfortunately, both times YAP answers No.
>> Do I have to configure YAP with some extra flags? Currently, I don't
>> give any.

No.

>> And if, which would it be? The docu is not very specific about that.
>>
>> I tried already
>>  --enable-wam-profile
>> but YAP wouldn't compile (under Mac OS X, latest yap-5 from GIT).
>

The WAM profiler is really something that I use to check how many WAM
instructions were executed. It is unlikely to matter to you :)

Cheers

Vitor


>
> Current development is focused on the yap-6 git. I suggest you try
> this version instead.
>
> Cheers,
>
> Paulo
>
>
> -----------------------------------------------------------------
> Paulo Jorge Lopes de Moura, PhD
> Assistant Professor
> Dep. of Computer Science, University of Beira Interior
> 6201-001 Covilhã, Portugal
>
> Office 3.18  Ext. 3276
> Phone: +351 275319891 Fax: +351 275319899
> Email: <mailto:pmoura@...>
>
> Home page: <http://www.di.ubi.pt/~pmoura>
> Research:  <http://logtalk.org/> Blog: <http://blog.logtalk.org/>
> -----------------------------------------------------------------
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Yap-users mailing list
> Yap-users@...
> https://lists.sourceforge.net/lists/listinfo/yap-users
>

------------------------------------------------------------------------------
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users