On 6/7/07, Maksim Ananjev <[EMAIL PROTECTED]> wrote:
Mikhail, thanks! But I haven't got where the information about time is stored after the execution. Would you be so kind to point it out more explicitly?
I was wrong, 'time' option does not work with PMF filters and can be only turned on or off for all methods compiled by JIT. But you can have different JITs and use EM chains to filter methods between them. Copy default opt.emconf file into your working directory and modify it in the following way: chains=chain1,chain2 chain1.jits=JET chain2.jits=CS_OPT JET.file=jitrino CS_OPT.file=jitrino #JET will compile all method except this one chain1.filter=-YourClassPrefix::yourMethodPrefix #enabling timers for CS_OPT -XX:jit.CS_OPT.arg.time=on #must have option for every JIT. JET does not have pipeline, so leave it empty -XX:jit.JET.path= and run VM with "-Xem:path_to_your_emconf" option 2007/6/7, Mikhail Fursov <[EMAIL PROTECTED]>:
> try > -Xem:opt -XX:jit.f.filter=YourClass::yourmethod -XX:jit.f.time=on > > On 6/7/07, Maksim Ananjev <[EMAIL PROTECTED]> wrote: > > > > Hi! > > > > Is there any way in Harmony to measure the compilation time of a method? > > > > I need it to profile some numerical intensive apps, and this feature > > would be extremely useful. > > > > -- > > Maksim > > > > > > -- > Mikhail Fursov > -- Maksim
-- Mikhail Fursov
