profiling

What is _dl_lookup_symbol_x ? - C++ Profiling

淺唱寂寞╮ 提交于 2019-12-23 07:05:05
问题 I'm using valgrind/callgrind to profile my server code for some optimization. The two most used calls that callgrind is reporting to me (using kcachegrind to view) are _dl_lookup_symbol_x and do_lookup_x. However I have no idea what either of these are and can't seem to find any documentation about them. Could anyone please tell me where these two functions are used and what they do? 回答1: _dl_lookup_symbol_x is an internal function inside the glibc C runtime library. If you browse the source

jstl forEach tag in jBoss 7, memory leak?

◇◆丶佛笑我妖孽 提交于 2019-12-23 05:13:28
问题 The YourKit profiler is used to analyze snapshot. Steps that have been performed (for the only user): generation number has been increased. some actions on the application page have been done. most of them get entities and display them via jstl forEach tag. the logout has been performed (session.invalidate()) the session timeout is set to 5 minutes. consequently I've waited for 6-8 minutes to make sure everything in session is invalidated. the snapshot via YourKit profiler was made. What I've

Good free profiler that supports MingW32 please? [closed]

人盡茶涼 提交于 2019-12-23 03:17:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I asked in another thread, how to profile my stuff, and people gave me lots of good replies, except that when I tried to use several of free profilers, including AMD Codeanalyst for example, they only support Microsoft PDB format, and MingW is unable to generate those. So, what profiler can help me profile a

Page faults monitor for Windows [closed]

半城伤御伤魂 提交于 2019-12-23 03:15:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Is there any tool which displays at runtime, Page Faults delta on a per thread basis? Basically I have an application that is causing lots of page faults and I want to nail down the thread which is causing the maximum. 回答1: I really doubt you could nail down page faults to threads a process page faults not a

Getting the symbols with xperf

ε祈祈猫儿з 提交于 2019-12-23 02:31:33
问题 I read through the docs and used the commands outlined however for some reason I dont seem to be getting any symbols, just a series of "unknowns" in the function column of the summary table for everything except the topmost set of the app I was trying to debug.... I set the enviromental variable to the microsoft server and the direcories containg the pdb's for the app. I also made sure to select the "Load Symbols" item before bringing up the summary table. Arcording to the info I was reading

Android NDK Load CPU

别来无恙 提交于 2019-12-23 02:31:24
问题 Write a program using the Android NDK. The program uses a few libraries. All this is very heavy CPU to 90%. How can I find out which of the libraries of most loads the CPU? is there for this special techniques or tools? EDIT: That's what I got: [user@localhost HelloNDK]$ ./remotegdb.sh Package name is org.divenvrsk.android.hellondk Found running pid: 7726 Device CPU ABIs: armeabi-v7a armeabi Using app_out directory: /home/user/Dropbox/HelloNDK/obj/local/armeabi-v7a 68 KB/s (5680 bytes in 0

How to start/stop Instruments (Time Profiler) programatically?

两盒软妹~` 提交于 2019-12-23 02:29:07
问题 Is there any way to start/stop Instruments profiling programmatically ? I need to profile just a specific section of my OS X code in a reliable way but I can't seem to find any documentation for Instruments which might tell me how I might do this. With CHUD/Shark there was a programming API and a command line tool to support this but I don't see the equivalent for Instruments anywhere ? FWIW I found some old forum posts from around 2009 bemoaning the lack of Instruments functionality in this

Benchmarking - How to count number of instructions sent to CPU to find consumed MIPS

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-23 01:29:37
问题 Consider I have a software and want to study its behavior using a black-box approach. I have a 3.0GHz CPU with 2 sockets and 4 cores. As you know, in order to find out instructions per second (IPS) we have to use the following formula: IPS = sockets*(cores/sockets)*clock*(instructions/cycle) At first, I wanted to find number of instructions per cycle for my specific algorithm. Then I realised its almost impossible to count it using a block-box approach and I need to do in-depth analysis of

Profiling a Java Web Start application

牧云@^-^@ 提交于 2019-12-23 01:28:08
问题 There are a lot of java profilers out there, any recommendations as to what would be best for profiling a java web start application that is being deployed to glassfish inside a war? 回答1: Well, the traditional answers for such a question are VisualVM and/or Yourkit (if you have money). If you go for VisualVM, this thread will help you to configure your Webstart application for JMX. If you go for Yourkit, have a look at this discussion. 回答2: Here's a quick-and-dirty but simple, free, and

add properties to users google app engine

本秂侑毒 提交于 2019-12-22 16:45:21
问题 What is the best way to save a user profile with Google App Engine (Python) ? What I did to solve this problem is create another Model, with a UserProperty, but requesting the profile from the user I have to do something like this: if user: profile = Profile.all().filter('user =', user).fetch(1) if profile: property = s.get().property Any ideas? 回答1: If you make the user_id of the user the key_name of the user's Profile entity, you can fetch it using Profile.get_by_key_name(), which will be