Tools in the developers' toolkit

»

Developers' toolkit

Product information

» Ordering information
» Related products
» DTK tool portfolio

Related links

» HP software
» Tru64 UNIX
» Developers' Toolkit supplement
» DSPP developer edge
» Info library
» Documentation
» Try our software
» Purchasing
» Site map
customer times newsletter link

The Developers' Toolkit for Tru64 UNIX is a prerequisite for all Tru64 UNIX development tools, and languages. It includes the following tools:

» An ANSI compliant C Compiler
» The Porting Assistant
» Visual Threads
» The Ladebug and dbx Debuggers
» The Hiprof, Third Degree, and Pixie Profiling and Program Analysis Tools
» The cord and om Procedure Reordering Tools
» Graphical Program Analysis Tools
» The ATOM API

» Take a test drive

The C Compiler

The Developers' Toolkit C Compiler is an ANSI-compliant implementation of the C programming language. It is distinguished by clear comprehensive warnings and error messages, support for the broadest choice of C dialects, including: strict ANSI, relaxed ANSI, K&R, Microsoft Compatibility, C9x and VAX C, and switches that give you granular control over compiler messages or "noise." The Compiler features the Industry leading GEM code generation technology. GEM provides extensive code optimization and enables your application to exploit the 64-bit power of Alpha.

The Compiler supports a full range of data types and pragmas. It also supports Tru64 UNIX inline-assembly code providing direct access to all Alpha machine code instructions and privileged architecture library calls.

Porting Assistant

The Porting Assistant is an integrated set of graphical tools that reduce the time and expense of porting your C, C++ and FORTRAN applications to the high performance, 64-bit, Tru64 UNIX operating system. You can port applications from HP-UX, IBM AIX, Sun OS, Solaris, ULTRIX or OpenVMS. The Porting Assistant recommends an efficient sequence of steps for your port and analyzes source files to identify 32-bit dependencies, platform specific assumptions and any changes required for the application to run on Tru64 UNIX. If your application needs to run on several different UNIX platforms, you will benefit greatly from the Porting Assistant, which helps you develop "standard," easily portable code.

Visual Threads

HP's unique Visual Threads tool helps you analyze and refine multi-threaded applications.  It helps you optimize multi-threaded applications that use POSIX threads or Java, and push Symmetric Multi-Processing (SMP) systems to the max!

The Ladebug and dbx Debuggers

The Ladebug Debugger helps you identify bugs in programs. It provides extensive support for C, C++, and Fortran (both -77 and -90) programs, and limited support for Cobol and Ada programs. A distinct advantage of the Ladebug debugger is its support for the Tru64 UNIX implementation of POSIX threads.

The dbx debugger helps you identify bugs in programs. It provides extensive support for C programs, and limited support for Fortran-77 and Pascal programs. The Ladebug debugger will be replacing dbx in a future Tru64 UNIX release.

The hiprof, Third Degree, and pixie Program Analysis Tools

The hiprof (pronounced hi-prof), pixie and Third Degree program analysis tools help you write efficient programs.

The hiprof tool is a call graph profiler. It visually shows you the amount of CPU time utilized by each primary procedure and the subsequent procedures they call. Using hiprof, you can easily identify portions of code that take the longest to run and could be streamlined to make your program more efficient.

The Third Degree program analysis tool profiles heap-memory for programs written in C and C++. It helps you identify three memory bugs: memory leaks, reading un-initialized memory and accessing an invalid memory address. Left undetected these bugs can significantly degrade system performance, cause your program to return erroneous data or terminate.

The pixie profiler tool counts the number of times each instruction in a program is executed. You can then feed this profiling data to either the cord or om reordering tools.

The cord and om Reordering Tools

These tools reorder your program's procedures so that the most frequently executed instructions are stored in the fast memory cache, rather than main memory. This minimizes instruction cache misses, greatly improving the speed of your application.

Graphical Program Analysis Tools

The four graphical program analysis tools provide intuitive Graphical User Interfaces (GUIs) that make it easy to analyze your program for efficiency, memory bugs, and utilization of shared resources. They include:

  • The Heap Analyzer
  • The Profiler
  • The Memory Usage Analyzer (Mview)
  • The Multi-Process Viewer (Pview)

The Heap Analyzer gives you a graphical interface for the heap-memory profiling capabilities of Third Degree, making it easy to analyze your program for memory bugs.

The Profiler gives you a convenient graphical interface to the hiprof, pixie, and PC-sampling profilers and helps you select the most appropriate tool based on the data you want to collect (the PC-sampling tool is included with the Tru64 UNIX operating system and produces a statistical CPU-time profile of your program by sampling the Program Counter at regular intervals). Using the Profiler, you can improve the efficiency and speed of your program.

Mview tells you how your program uses memory, by graphically portraying the memory blocks it allocates over a period of time. Even if your program has no memory leaks, Mview can help you pin point inefficient uses of memory  which adversely affect your application.

Pview tells you what processes are running in your program and provides information on those processes and the resources they're utilizing. You can see how multiple processes vie for shared resources, for example, you can identify if process A is using too much memory or CPU time, while process B is still waiting to execute.

For those who prefer a complete graphical development environment, HP offers DEC FUSE. DEC FUSE builds on the Developers' Toolkit for Tru64 UNIX, letting you create, compile, debug and tune programs without using the UNIX command line interface or writing shell scripts! DEC FUSE is easier to use than the UNIX command line interface and dramatically simplifies application development.

ATOM

In addition to its arsenal of tools, the Developers' Toolkit for Tru64 UNIX lets you create your own simple or sophisticated tools using ATOM. ATOM uses the target application program, an instrumentation file and an analysis file to create a new executable, that when run collects analysis data for a wide variety of purposes.

You create your tool by writing two sets of C routines, an instrumentation file and an analysis file.  In the instrumentation file, you use the ATOM API to specify where calls to analysis file routines should be inserted in an application. A single call to an ATOM routine will automatically regenerate the subsequent modified executable! In the analysis file, you write routines which are called, at runtime, by instructions ATOM previously inserted in the executable. These routines run in the background of the application and analyze it for attributes like quality and performance. While ATOM greatly expedites tool creation, you have vast flexibility in designing the scope of the tool. HP has created several tools with ATOM, including hiprof, pixie and Third Degree.

Take a Test Drive

Trying the Developers' Toolkit for Tru64 UNIX is easy. For a 30 or 60 day software loan of product, with no obligation, call 1-800-282-6672 in the United States and Canada. In other countries call your local HP Sales Office or Reseller and ask for part number MT5A9-LB (30 day loan) or MT5A9-LD (60 day loan).