You can add 'measures' at any point within your code. These can be any numeric value with any string as the identifier. However, it doesn't handle anything more complex than this.
I am not sure I fully understand what you are looking for. For doc on jrunit, which pretty much covers everything it can do, can reference http://labs.jboss.com/portal/index.html?ctrl:id=page.default.freezone&project=jrunit&page=docs+index.html or the JBW presentation at http://www.jboss.com/elqNow/elqRedir.htm?ref=http://www.jboss.com/pdf/jbw_barc/core_infra/jboss_jrunit.pdf.