[kaffe] How to get the precise time cost of kaffe?

embstudy at eyou.com embstudy at eyou.com
Fri Aug 27 00:12:49 PDT 2004


Hello,

  In the FAQ.timing, it says:
-----------------------------------------------------------------------
The new timing mechanism allows arbitrary portions of vm execution to
be measured.  When configured --with-timing, kaffe will print a
summary of all timings measured on exit.
 
Usage is simple:
#include "support.h"
 
foo()
{
        static timespent spent;
 
        startTiming(&spent, "foo");
        ...
        stopTiming(&spent);
}
---------------------------------------------------------------------

But after I recompiled kaffe with --with-timing, nothing print for me :(

Could you please tell me how to do this ASAP???
I am really in a hurry!
thanks,
Saw





--http://www.eyou.com
--Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä  ÓïÒôÓʼþ  Òƶ¯ÊéÇ©  ÈÕÀú·þÎñ  ÍøÂç´æ´¢...ÒÚÓÊδ¾¡

--http://vip.eyou.com
--¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä  ×¢²áÄúÖÐÒâµÄÓû§Ãû






More information about the kaffe mailing list