A bundle is a collection of classes which are collections of methods. If 
you can instrument and measure the CPU time spent by methods, you can then 
process that data since each method belongs to a class and each class to a 
bundle.

-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
hargr...@us.ibm.com

office: +1 386 848 1781
mobile: +1 386 848 3788





From:   masti whoknows <masti...@yahoo.com>
To:     "osgi-dev@mail.osgi.org" <osgi-dev@mail.osgi.org>, 
Date:   2012/01/27 13:23
Subject:        [osgi-dev] CPU Measurement on a Bundle
Sent by:        osgi-dev-boun...@mail.osgi.org



Hi All,
 
        Is there a way or has anyone done any kind of CPU measurements on 
Bundles? I have a bunch of bundles and would like to know if there is a 
way to meausre how much CPU usage is done by each of the bundles. The 
requirement is to do it in the code and no using any third party profilers 
(unless they can be hooked into the code at run time to get profiles)
 
      Any guidance is highly appreciated.
 
Thanks
Masti_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to