Re: Profiler question
Quartz <[email protected]> Wed, 3 Sep 2003 08:01:10 -0700 (PDT)
| Newsgroups | gmane.comp.java.seda.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the comment. I appreciate. To select only some profilables, you must put either only the accept regex clauses for them, or to be sure you don't discard too much, you may reject some instead. accept regexes have precedence over reject ones if intersecting. No accept nor reject clause mean accept all. for rejecting all but 2 particular stages, learn their name and then: acceptregex ^(.*)(StageXXX)(.+)$ ^(.*)(StageYYY)(.+)$ warning: the config syntax is not really strong, so don't use spaces in your regex! it will break. I suggest you use a "." (for any char). Both clauses are simply an enumeration of regexes that will be iterated. Its a bit anoying to type, but hey, I didn't invent regex syntax and I wanted the power of regex. Same kind of syntax for colors, but they go in regex-color pairs. Override the ProfilerDelegateUI.accept() for your own implementation/config. <profile> enable true class tests.basic.ProfilerDelegateUI <delegatevar> buffersize 300 columns 3 #acceptregex #rejectregex ^(TPController)(.+) rejectregex ^(.*)(SinkStage)(.+)$ ^(.*)(TimerStage)(.+)$ bgcolors ^(ThreadPool)(.+) 000040 (.+)(queueLength)(.*) 400000 #fgcolors ^(ThreadPool)(.+) 0000ff (.+)(queueLength)(.*) ff0000 #tcolors ^(ThreadPool)(.+) 0000ff (.+)(queueLength)(.*) ff0000 </delegatevar> </profile> --- Andreas Fransson <[email protected]> wrote: > Seems like it's only Quartz who is interested in keeping this forum alive, > great work buddy. Anyhow, Im currently using your "home made" profiler code > to visualize queue length, thread pool sizes etc. It's all working really > well, but the plot shows too many graphs. How do I select which graphs to be > visualized? This is mainly my question, but I would appreciate a "fast guide > to visualize your SEDA queues" containing easy tips and trix on how to > control the graphs. > At the moment I see approx. 25 graphs in the Profiler window, 5 would be > desirable. Cheers everybody! __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf