Lifecycle Application Diagnostics for C/C++

来源:互联网 发布:tif软件下载 编辑:程序博客网 时间:2024/06/09 12:37

这个测试工具虽然挺好, 但仅用在Linux-x86环境下, 也不知道猴年马月才用得到.

 

Lifecycle Application Diagnostics for C/C++
Trace, profile or find memory leaks in any C/C++ application

  • Determine why your application is slow
  • Find memory leaks or over-utilization in your application
  • Trace your application to find bugs, understand the control flow as well as object and thread interactions.

 

For a larger view please click on the image.

The Execution Flow profiling view shows the execution flow within each thread. Each call within a thread is shown as a vertical stripe.

Hitchhiker is a free Eclipse plug-in and runtime engine based on patented Aprobe technology. Hitchhiker provides tracing, profiling, memory leak tracking and function coverage tools for C/C++ applications. With Hitchhiker you can:

  • Instrument any C/C++ application on the fly using patented Aprobe technology
  • Trace and profile the application at near full execution speed
  • Visualize application internals using the Eclipse Workbench.

Hitchhiker can be used throughout the application development lifecycle, from development into alpha, beta, production test, and production.

How Hitchhiker works
Hitchhiker collects performance and control flow data from your application using machine code instrumentation that is automatically inserted into your application using patented Aprobe technology.

For a larger view please click on the image

The UML2 Object Interactions profiling view shows the sequence of method invocations for each object.

Configure the data collection process by specifying the wild card set of functions to profile as well as other data collection options using the Eclipse Workbench. Then launch the application via the standard Eclipse Launch Dialog. Or you can attach to an application already running with the Hitchhiker agent and examine its collected profile information.

As the application runs, the Hitchhiker Agent sends the application telemetry back to the Eclipse Workbench. The collected data can be viewed in real time using a variety of data visualization views or saved for later analysis.

The data can be analyzed in many different ways:

  • Identify objects and methods that consume the most time
  • Identify memory-intensive classes
  • Gauge program concurrency
  • Locate memory leaks
  • Browse every execution of a method as a function of time
  • Obtain a wider view of execution behavior as a function of time
  • Identify active threads, and when threads are active
  • Identify frequently called methods
  • Identify different phases of program execution
  • Study different method invocations

System requirements
Hitchhiker is currently provided for:

  • 32-bit Linux/x86, RedHat 9, Enterprise 4, Fedora Core 3

Hitchhiker is built upon the Eclipse SDK and the TPTP and CDT projects. The following components are required:

  • Eclipse SDK 3.0.2
  • TPTP Runtime 3.3.0
  • Hyades Data Collection Engine for Linux x86 Runtime (Agent Controller) 3.2.0
  • C/C++ Development Tools (CDT) 2.1.1

You should have all of the above Eclipse components for the Linux platform installed and configured before proceeding with the Hitchhiker installation. Remember to install and configure prerequisites for both CDT and TPTP (e.g., EMF, XSD).