profiler

Heap memory vs object memory

本小妞迷上赌 提交于 2019-12-05 15:26:25
According to a paper about Java memory and characteristics: "... The memory score partitions into two types: heap memory, which is the memory consumed by the application during runtime, and object memory, which is the memory allocated by various objects used in the program, such as integers and strings, etc. ..." Do they mean the stack memory when they say object memory, or what do they mean? (confused since, if I am not wrong, objects are allocated in the heap in Java) Second question, if I simply want to measure the total size of the heap and stack during a full program execution, what tool

ARM Cycle-Accurate Simulator

喜欢而已 提交于 2019-12-05 14:07:57
Is there a free and cycle-accurate ARM (Cortex A9) simulator out there? I think ARM IDE is providing some sort of profiler but first I am not sure if it provides a command line interface and secondly it is not free. I was hoping to find something from GNU but I couldn't find any ... There are no free cycle accurate simulators available for recent ARM cores. You best bet is to buy a Cortex A9 development board (like a Pandaboard) and use that for performance benchmarking. With the acquisition of Carbon Design System ARM started offering cycle accurate models for its cores. These models are slow

Where is the C++ profiler in Netbeans 7.1.2

女生的网名这么多〃 提交于 2019-12-05 13:24:49
Netbeans 6.9 had a profiler facility for C++ (we had to install the sun studio to use it). However, I cannot find the C++ profiler in netbeans 7.1. The sun studio 12.3 has already installed and works with netbeans 7.1. I also cannot find the "profile" section in the c++ project properties in NB 7.1 while that existed in NB 6.9. according to the Netbeans 7.1 release notes, the C/C++ Profiling Tools were removed from the standard distribution of the IDE. link to the release notes: http://netbeans.org/community/releases/71/relnotes.html 来源: https://stackoverflow.com/questions/10423662/where-is

Getting the Machine Type and other Hardware details through Cocoa API

感情迁移 提交于 2019-12-05 12:16:21
On iOS, there is a UIDevice class which lets you get tons of great info about the device model, operating system etc… I am looking for something equivalent on the Mac. I know about calling system_profiler from the command line, but even the mini setting takes several seconds to get any info. I am interested in fast ways to get the machine type (Macbook Air, Mac Mini, etc…), OS version, and other quick machine details from within a Mac App. The details are going o be used as a footer on support emails sent from within the app. Is there any equivalent to UIDevice, or another fast way to get some

How to use VisualVM to get the time each function costs [duplicate]

懵懂的女人 提交于 2019-12-05 09:30:01
问题 This question already has answers here : Total method time in Java VisualVM (7 answers) Closed 3 years ago . VisualVM is a nice but a little complicated tool for me. I wrote a class with many functions (in Eclipse). How can I get the information of how many time each function calls and the time they cost when during execution? 回答1: See Profiling With VisualVM, Part 1 and Profiling With VisualVM, Part 2 to get more information about profiling and how to set profiling roots and instrumentation

How to find what caused errors reported in a SQL Server profiler trace?

落花浮王杯 提交于 2019-12-05 05:56:36
I was running a trace on a Sql Server 2005 using the profiler and need to find out what is causing the reported errors. I used the "blank" template, and selected all columns of the following events: Exception Exchange Spill Event Execution Warnings Hash Warnings Missing Column Statistics Missing Join Predicate I noticed a number of these errors in the "TextData" column: Error: 156, Severity: 16, State: 0 Error: 208, Severity: 16, State: 0 I looked up the errors (Incorrect syntax, Invalid object name), but how can I tell what stored procedure or query is causing them? Don't worry about the 208

What is “platformAttrExtractor” in Android Task Execution?

放肆的年华 提交于 2019-12-05 05:25:56
I profile my build follwings instruction in Android: gradlew --profile --recompile-scripts --offline --rerun-tasks assembleFlavorDebug I found "UI:platformAttrExtractor" takes a long time, please see the screenshot. I don't understand what "platformAttrExtractor" is and how can I remove it to save build time? yasyd I have the sample "problem". What I noticed is that by specifying the --offline command line option for gradle, build time (and specifically the time taken by the platformAttrExtractor) task is reduced considerably 来源: https://stackoverflow.com/questions/47660949/what-is

Visual Studio 2013/2015/2017 profiler adds Not publishable lines in web.config?

吃可爱长大的小学妹 提交于 2019-12-05 02:53:45
Today I was just profiling my WCF application using the profiler of visual studio in Instrumentation mode. Later I needed to a publish to my web server and suddenly I was getting an error saying that Microsoft.VisualStudio.Enterprise.AspNetHelper file path can't be found. when I reviewed my web.config, I have seen that following lines were added by profiling session. <system.web> <compilation targetFramework="4.0" debug="true" assemblyPostProcessorType="Microsoft.VisualStudio.Enterprise.Common.AspPerformanceInstrumenter, Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=12.0.0.0, Culture

Increasing the depth of cProfiler in Python to report more functions?

微笑、不失礼 提交于 2019-12-05 02:28:38
I'm trying to profile a function that calls other functions. I call the profiler as follows: from mymodule import foo def start(): # ... foo() import cProfile as profile profile.run('start()', output_file) p = pstats.Stats(output_file) print "name: " print p.sort_stats('name') print "all stats: " p.print_stats() print "cumulative (top 10): " p.sort_stats('cumulative').print_stats(10) I find that the profiler says all the time was spend in function "foo()" of mymodule, instead of brekaing it down into the subfunctions foo() calls, which is what I want to see. How can I make the profiler report

Running Visual VM from eclipse

浪尽此生 提交于 2019-12-04 23:43:17
I am trying to debug a java app using Visual VM in Eclipse kepler. I am executing the class having main method selecting Visual VM as launcher. I have configured Visual VM as per the instructions given in http://blog.idrsolutions.com/2013/05/setting-up-visualvm-in-under-5-minutes . I am getting the following error: An internal error occurred during: “Launching TestNew”. java.lang.NullPointerException “TestNew” is the name of the class with main method I am trying to execute. please help. Markus A. I had the same issue... Let me expand a bit on Anushree's comment: Go to Window ⇒ Preferences ⇒