Hprof doesn't show cpu times of own methods

Hi,
I'm using hprof like this on Java 1.4.2_18: -Xrunhprof:cpu=times,file=/some/file.txt
This generates output like this:
1258 0.01% 91.01% 2899 2050 org.apache.axis.encoding.SerializationContext.startElement
1259 0.01% 91.02% 31041 1051 java.util.ArrayList.add
1260 0.01% 91.03% 31838 1349 java.lang.StringBuffer.append
1261 0.01% 91.04% 20858 3388 sun.reflect.GeneratedMethodAccessor4.invoke
1262 0.01% 91.05% 12017 3703 java.lang.System.getSecurityManager
1263 0.01% 91.06% 10964 1111 java.lang.Number.<init>
1264 0.01% 91.07% 18194 1588 org.apache.axis.encoding.TypeMappingImpl$Pair.hashCode
1265 0.01% 91.08% 31041 2353 org.apache.axis.message.SOAPHandler.<init>
1266 0.01% 91.10% 258 1886 java.lang.Throwable.printStackTrace
1267 0.01% 91.11% 9836 2613 java.lang.StringBuffer.append
1268 0.01% 91.12% 52694 3665 java.lang.Class.getName
1269 0.01% 91.13% 9475 1469 org.apache.axis.utils.NSStack.getPrefix
1270 0.01% 91.14% 22482 684 java.lang.StringBuffer.setShared
1271 0.01% 91.15% 31043 1752 java.lang.System.arraycopy
1272 0.01% 91.16% 11241 2051 org.apache.commons.logging.impl.Jdk14Logger.isDebugEnable
But none of my own methods are in there, only java.\*, sun.\*, javax.\*, org.apache.*, etc. are in it. What am I doing wrong?
Also (but this is a more optional, second question), it'd be nice if I could see them nested, i.e.:
80% my.package.MyClass.myBigMethod
     20% my.package.MyClass.partOfMyBigMethod
                15% my.package.MyClass.partOfPartOfMyBigMethod
                 5% my.package.MyClass.alsoPartOfPartOfMyBigMethod
     25% my.package.MyClass.alsoPartOfMyBigMethodand so on.
Is this possible? Or should I use a different profiler for this? I'm using a headless server, so my options are rather limited, especially since because of network settings I can't really connect a remote profiler to it, like Netbeans'. It's on a GNU/Linux server, and I can't use commercial software... Any ideas?
Thanks!

"Is there an alternate way to run the hardware test?"
No. The Hardware Test is on the system DVD that originally came w/your computer. You can get replacement System Install & Restore CD/DVDs from Apple's Customer Support - in the US, (800) 767-2775 - for a nominal S&H fee. You'll need to have the model and/or serial number of your Mac available.
If you're not in the US, you may need to go through the regional Apple Store that serves your location to find the contact number. Here's a list of links to all of those -
http://store.apple.com/Catalog/US/Images/intlstoreroutingpage.html

Similar Messages

  • When playing a song on ipod touch 4th gen, the display doesn't show the time lenghth of song or the shuffle, repeat options.  Any thoughts??

    When I used to play music, the song display showed the album art, the length of the song and how much time was left, it also had a repeat and shuffle option at the bottom of the screen  A couple of days ago, these things disappeared.  Any thoughts??

    when the song is playing/on the music player tap the album cover or the middle of the screen and these things should pop up for you. If that doesn't work then i dont know.

  • Disk utility doesn't show external Time Capsule harddisk

    Hi.
    With an older OS X, it was possible to use disk-utility for making some changes at my TimeCapsule(3rd.Gen.)-harddisk.
    Now i tried this with the latest version of Yosemite. I think, at the 1st view to to disk utility window, there was an TC-ikon shown under the SuperDrive-ikon. But some seconds later it was gone! I tried it again after restart my iMac an the TC, but every time finder-window and disk-utility-window looks like this ..
    ... with added comments in green ("Finder"-window, "disk utility"-window) and red (lost "TC-Harddisk?"-ikon).
    I tried this also with a MacBook-air (newest version) - same result
    What happened? Is it a Yosemite-Problem?
    Can I do something with the terminal-app to get the connection?
    <<<---- I posted this Nov.2014 at Mac OS & System Software / OS X Yosemite
    Today I connected an USB-Stick with my TimeCapsule. Then I opened Disk Utility and was happy - for some minutes.
    At the window of the Disk Utility I saw the TC-Harddisc an the memory-stick too.
    But when I tried to add an partition to the TC-Harddisc, it was gone away.
    I closed-and-started the disk Utility again - now TC-Harddisc was shown.
    I disconnected-and-connected the memory-stick again - now TC-Harddisc was shown at the disc-utility-window.
    Thanks for Help!

    You cannot partition a TC disk from disk utility in the Mac.. that has always been the case.
    What you did last time is partition the sparsebundle.. that is a virtual disk created by the computer.. merely partitioning a virtual disk is pointless.
    You simply need to create another sparsebundle or dmg file to use as virtual disk.
    But the fact that Yosemite continually loses connection to the TC .. oh yeah that is because Yosemite is buggy.
    Reset your TC to factory.
    Do this manually..
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Then redo the setup in the airport utility. Use short names with no spaces and pure alphanumeric characters.
    Same with passwords only longer.
    I recommend you then mount the TC in finder manually by its IP address if at all possible not by name.
    The problem here is the IP must be static which it is by default if the TC is the main router but it will have to be specially setup if the TC is bridged.
    Use Go, Connect to Server.
    SMB://10.0.1.1
    When asked for the disk password type that in and do not forget to save it in the keychain.
    Then you can mount a TM sparsebundle in disk utility if you want.. although I suggest that is pointless other than to verify your backup.
    Do not partition it.. that is not helpful at all.

  • 5 days waiting for technician who doesn't show on time

    I have had no dial tone for 5 days.  On day one I set up for a technician to come out which I couldn't get an appointment for 5 days later.  I set the time frame up for 8am to 12pm on a Saturday.  I wasn't too happy about having to get up early on a Satruday but if it meant my phone would get fixed I figured it was worth it.  So today, Saturday, the day the techinician was suppose to arrive between 8am and 12pm, didn't show.  When I checked with Verizon they said it would be between 1pm and 2pm.  2pm came and went, no technician.  Then was told by 3pm, that came and went; no techinican.  Now they 4pm.  Seriously, it is Saturday.  Do you think I have nother better to do all day then to sit around and wait when I could be running errands?  Why don't you just say we will get there whenever we feel like and you will just have to sit there and wait on us.

    File a complaint with the FCC.  That's what I am about to do. 

  • What is a great calendar app? Currently using iPad standard app but doesn't show times

    I am looking for a calendar app that links to outlook exchange on my iPad. I am using the current standard app on the iPad and it doesn't show the times.  Any suggestions?

    Howdy squeakyred2,
    If I understand correctly you are getting the alerts from the events that you are creating on your Calendar app, but they do not show in the app once they are created. It seems to me that the calendar you are adding them to may not be checked, thereby making it hidden. To check this, first open the Calendars app and tap Calendars at the bottom:
    Calendar at a glance - iPhone
    Then verify the calendars you have showing. It should look similar to this:
    Use multiple calendars - iPhone
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • How can I modify the High Speed Data Reader VI to show the time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its time information in the graph.
    How can I modify the High Speed Data Reader VI to show the time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Format the x axis to either absoulte or relative time.
    You can do this by right clickingo n the graph and selecting x axis then formatting from the menu.
    Thanks,
    Naresh

  • Question about  how to extract CPU time

    Hello,
    I want to use JAVA program to extract my CPU timestamp or time span between two event, e.g between message transmitting and receiving.I don't know which core API can be used to realize the precision of nano second.
    are there any API, which can count the CPU cycles in JAVA?
    My platform is Linux (ubuntu)
    Thank you in advance

    kajbj wrote:
    webscape wrote:
    *(y-x)* should be your answerNo, that will not give CPU time.Also, those methods are (relatively) extremely slow which can, in itself, skew the results. You should be using the nano timer for this kind of thing.

  • Task manager on windows server 2008 doesn't show the memory from newly installed 2nd CPU

    Hi,
    We have a dual processor dell power edge t410 running windows server 2008 (64-bit), standard edition. I have recently added a 2nd xeon x5560 quad-core processor (first one is also x5560 with 32GB (4x8) memory) and 16GB ram (4x4). Seems like the new CPU is
    recognized in BIOS, Dell's server admin app and task manager shows 16 vertical boxes (hyper threading is on both cpus) under Performance->CPU Usage History and these boxes show processor load spread relatively evenly across all threads. On the other hand
    the additional memory for this CPU is visible in the BIOS, Dell server admin but not in the task manager, which still shows the 32gb under performance->physical memory. Rammap also shows only 32GB.. Currently running proprietary processes that along with
    the metafile and windows own ring up nearly 30GB, which in turn causes system latency for GUI and apps, as if the additional 16GB are not there...
    So the questions are these:
    1) does anybody know why the added memory doesn't show up in the task manager / rammap?
    2) if the new memory doesn't show up, does this mean that Windows does not use it (which should be impossible if the CPU is utilized, unless I am wrong about windows using the cpu..)?
    Thank you,
    - Kiril

    Thanks for the reply Ravikumar,
    Unfortunately this solution is inapplicable to my version of the OS as it is 64-bit and not 32-bit. Do you have any other ideas?
    Best,
    - Kiril
    Yes, PAE((Physical Address Extension) is supported only on 32-bit versions of the
    Windows, operating system 64-bit versions of Windows do not support PAE. For information about device driver and system requirements for 64-bit versions of Windows, see
    64-bit System Design. The Address Windowing Extension (AWE) API is supported on 32-bit systems. It is also supported on x64 systems for both native and Wow64 applications.
    Useful link for Address Windowing Extensions is:http://msdn.microsoft.com/en-us/library/windows/desktop/aa366527(v=vs.85).aspx
    If the above info does not help you, please contact dell as suggested by
    Shaon Shan.
    Regards, Ravikumar P

  • Jdev CPU profiler doesn't show inherint method timing - Any way to get it

    Hi,
    CPU profiler both in HOTSPOT and Callstack doesn't give method's inherint timings . it only shows parent + descendant timing (inclusive timing) . This doesn't help me to quickly find which method inherintly is expensive (ie timing withouts its child included ) .Is there a way to get the timing of a method without including its child method timing ..
    Regards,
    Indraneel

    Depending on what version of JDeveloper 11 you are running, exclusive time in a method is called "CPU Exclusive" or "CPU Shallow" in the CPU profiler column headings. The column is there; there is data in the column for some methods (Click on the 'CPU Exclusive/Shallow' column to sort by those values). So it's hard to understand how the profiler does not report it.
    Perhaps your issue is that the profiler doesn't report it accurately?

  • I have an ipod nano 5th generation. the problem with it's that it doesn't show in itunes when connected to the laptop and it switches on on its own and songs start playing the battery gets consumed too fast after full charge. what is the actual problem?

    i have an ipod nano 5th generation. the problem with it's that it doesn't show in itunes when connected to the laptop and it switches on on its own and songs start playing the battery gets consumed too fast after full charge. what is the actual problem?

    What have you tried so far in terms of troubleshooting this issue?  Are you plugging the iPod into a high powered USB 2.0 port on the back of your PC? Have you tried a different USB cable?
    What happens if you try to reset the device with it still connected to the PC?
    How to reset iPod
    Has this iPod ever worked on this PC or is this the first time you have time you have tried connecting it?
    Have you carefully worked through each and every single suggestion in this Apple support document?
    iPod not recognized in 'My Computer' and in iTunes for Windows
    B-rock

  • I have face time installed on my iMac but when I go to the app store it doesn't show installed and has a.99c price. All other apps show installed. Is this an upgrade?

    I have face time installed on my iMac but when I go to the app store it doesn't show installed and has a.99c price. All other apps show installed. Is this an upgrade?

    The first thing to do:  Make a backup of your iPhoto Library. Don't update iPhoto without having a backup of your iPhoto library.
    When I tried I received the following message This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled.
    This error message means, that you did not yet associate your copy of iPhoto (preinstalled on your Mac) with your AppleID by clicking the "accept" button at AppStore "Purchased" page.
    First try to "Accept" iPhoto on the Purchased tab and try, if you then can update iphoto from the Updates tab.
    Now check the "Purchased" tab. Is iPhoto among your Purchases to "Accept" or "Install"? Then accept and/or install.
    If it is not possible, delete iPhoto from the Applications folder .
    (don't empty the Trash).
    If it is not among your Purchases, open the AppStore main tab, search for iPhoto using the Search field, and buy it from the AppStore. If you already owned any version of iPhoto '11, this purchase should be free, from earlier versions it may be a paid upgrade.
    If all fails there is no help but contacting the App Store Support to sort out the AppleID. Use this link: http://www.apple.com/support/mac/app-store/contact/
    I can delete the existing software and re-install but I don't want to lose all my photos.
    Your photos are in your iPhoto Library in your Pictures folder and not in the iPhoto application. Just back up the iPhoto Library as a precaution, but reinstalling iPhoto will not delete your iPhoto Library.

  • I'm trying to set up time machine to back up on an external HD connected t my airport extreme, but the disk doesn't show as an option in the time machine selecting a disk, any suggestion anyone? My mac "sees" the airport extreme   ??

    I'm trying to set up time machine to back up on an external HD connected t my airport extreme, but the disk doesn't show as an option in the time machine selecting a disk, any suggestion anyone? My mac "sees" the airport extreme   ??

    The first important thing to consider here is that Apple does not support Time Machine backups to a drive at the USB port on the AirPort Extreme, so that may likely have something to do with your difficulties.
    If you want to continue to try this, the drive must be formatted in Mac OS Extended (Journaled) and you almost always have to use a powered USB hub with a drive at the port of the Extreme...even if the hard drive has its own power supply....because the port on the Extreme is under powered.
    Most users who try this unsupported method have corruption difficulties sooner or later, but we do hear from some users who seem to be able to make it work.
    The bottom line is that there is no support from Apple on this if you have difficulties, so you may want to consider a secondary backup plan for your important data.

  • Can I connect an external hard disk to time capsule? I tried but it doesn't show up. What would be the reason??

    Can I connect an external hard disk to time capsule? I tried but it doesn't show up. What would be the reason??

    The USB drive must be formatted for Mac in Mac OS Extended (Journaled), or if you want to use both Mac and Windows files, the drive can be formatted in FAT32.
    A number of drives are formatted for Windows only in a format called NTFS. This willl not work on the Time Capsule.
    In addition, the USB port on the Time Capsule is under powered. You almost always have to use a powered USB hub when you connect a drive to the Time Capsule...even if the drive has its own power supply.

  • Tried to install newest itunes, crashed during install, and now crashes my computer every time i try to uninstall.  Itunes doesn't show up in the Add/remove prog list at all.  tried to roll back over a month, still crashing.

    So I tried to update to the newest Itunes.  It locked up my computer part way thru the install.  Black screen, computer turned itself off.  Now anytime i try to do anything with Itunes it shuts my computer down.  I can start up fine in safe mode but when i try to uninstall from there, Itunes doesn't exist.  the other apple programs do, but no itunes.  when i try to uninstall the other programs in safe mode it tells me it can't because the windows installer isn't loaded.  I have system restored to over a month ago and itunes still doesn't show up in add/remove programs.  however, i can open itunes.  it just tells me a file didn't get installed and to uninstall and reinstall.  So, how do i remove a progam that doesn't think it exists and crashes my computer when i try to do anything related to it???  I'm out of ideas.  running windows vista.

    I think my problem is fixed now.
    For the fun of it, I reinstalled iTunes 9.2.1 today (using the exact same installer as I did yesterday), but this time I didn't uninstall iTunes first. As expected, iTunes recognized my iPhone (as I expected it to, until my next reboot).
    A few minutes later, Software Update showed up and among the updates is "iPhone SDK Compatibility Update". The description indicates that installing this should fix an issue where iPhones and iPod touches aren't recognized by iTunes. Isn't that interesting?
    I installed that update and most of the others waiting for me (including Java, Safari 5.0.1, and a few others - not 10.6.4 though, due to the issues with nVidia graphics cards). After the reboot, I started iTunes, and it saw my iPhone!
    So, if you're having this same problem, I'd recommend tracking down this update and see if that does the trick for you. Hopefully it will.

  • I can't get firefox (Linux) to use flashplayer. I've installed a dozen times but it doesn't show up in tools/add-ons.

    I've tried installing flash player a dozen times, with both the instructions on the adobe page and the mozilla page. I'm running Fedora Core 11 with Mozilla 3.5.9. I've gotten "libflashplayer.so" and copied it to every "mozilla/plugins" directory on the drive. It does not work and is not listed when I bring up "tools/add-ons." One instruction said to copy "flashplayer.xpt" to the "mozilla/commponents" directory, but the download included no such file and I have no such directory. (Probably pertains to an older version.) I've tried downloading it with the .tar, .gzip, and yum; all with the same result. It doesn't work online and doesn't show up in my plug-ins.
    == This happened ==
    Every time Firefox opened
    == Only time I've tried to install it.

    I had a problem with Fedora 15-64bit + Firefox 64bit + flash player plugins. I finally found that the plugins must be put in: /usr/lib64/mozilla/plugins.
    I downloaded the 64-bit version of the flash plugins at : http://labs.adobe.com/downloads/flashplayer10_square.html Decompressed it and move the file libflashplayer.so to /usr/lib64/mozilla/plugins (you need to be super user to do that). Restarted Firefox and it worked ! My guess is that if you use 32-bit plugins then you must put them in /usr/lib64/mozilla/plugins-wrapped but I didn't try.
    Arg ! It took me the whole evening to find that !

Maybe you are looking for

  • How can I return to the same position in the calling order details form

    I am Calling a form for creating a new item from order details form, so after creating The new item I want to returned the item code to the calling form to same position in The order details form , how can I return to the same position in the order d

  • Error while extracting data via UD Connect

    Hi, Trying for the first time to connect Oracle data base/JDBC connection type via UD connect(we are in BI 7.0).While creating the data source and assigning UD Connect source object in the extraction tab,following error is obtained" UDCADAPTERROR::RS

  • Copying of Profitability segment from Sales Order to Purchase Order

    Dear Edurado, My requirement is in the sales order account assignment tab there is Profitability segment which is done by CO PA , the same PA segment must be automatically flow to Purchase order while creating the Po with ref to a sales order. Profit

  • Spellcheck and other problems on certain websites

    I've posted this before, and haven't received an answer that worked. I visit one message board, 247sports.com, and I have two issues that I simply can't except. 1) Spellchecker keeps turning off. I've enabled it in options, but when I make a post it

  • Is there a way to schedue scripts in Business Catalyst

    Hi, My intentions are to create few recurring jobs that whould interact with the BC Apis (from within the BC website) . I have a requirement to run few of them on weekly basis and few on monthly basis as well. Is there a way in which BC would allow m