Your search did not match any results.
We suggest you try the following to help find what you're looking for:
The sample applications in this download file are provided for you to use in becoming better acquainted with some of the components of Oracle Solaris Studio 12.3. Several of the applications are intended to be used with specific tutorials in the Oracle Solaris Studio 12.3 documentation library. Others can be used simply by following the instructions in the README or DEMO files provided with them.
Oracle Solaris Studio 12.3 Sample Applications (195 KB) ( md5: 2376bfa6eacf0332f621933a370599fb )
When you unpack the file, the
SolarisStudioSampleApplications directory contains the following sample applications:
memorychecks- The program includes some intentional memory access errors and intentional memory leaks. It is intended to be used to demonstrate the Memory Access Error tool in the Oracle Solaris Studio 12.3 IDE and is used in the Running Memory Access Checking on Your Project section of the Oracle Solaris Studio 12.3 IDE Quick Start Tutorial.
sample- This program is a simple application that contains static code errors, dynamic memory access errors, and code coverage errors. It is intended to be used to demonstrate the capabilities of the Code Analyzer and is used in the Oracle Solaris Studio 12.3 Code Analyzer Tutorial.
debug_tutorial- This program is a simplified and somewhat artificial simulation ofthe dbx debugger. The program contains several bugs, and is intended to be used with the Oracle Solaris Studio 12.3 dbxtool Tutorial to demonstrate how to effectively use dbxtool.
ProfilingDemo- This program is a sample application designed to run in the DLight observability tool to demonstrate the runtime data collected by Oracle Solaris DTrace scripts. It is used in the Oracle Solaris Studio 12.3 DLight Tutorial.
cachetest- This simple program calls eight versions of a routine to perform a matrix-vector multiply. The versions are compiled with different compiler options and different loop nest order and demonstrate a range of cache and CPU performance characteristics.
jsynprog- This Java program loads a C++ shared object, and calls various routines from it.
mttest- This simple program exercises various synchronization options on dummy data. It can be used to test threaded programs and to test the measurement of synchronization delay. It can be built to use either POSIX threads or Solaris threads.
omptest- This simple program does two calculations, each in several different ways, using the various OpenMP parallelization directives. The two different parallelization techniques show different performance characteristics.
synprog- This simple program does a number of tasks, each of which exhibits some performance characteristic or feature of the Oracle Solaris Studio Performance Analyzer.
din_philo- This multi-threaded program simulates the dining philosophers problem. This program and the others in this directory are used in the Oracle Solaris Studio 12.3 Thread Analyzer Tutorial.
hello_race- This program is basically a one line program with a data race. When you run the program, using four threads, the results are correct. But when it is used with the Thread Analyzer tool, the tool nicely points out that there is a data race.
prime_omp- This OpenMP program computes the number of prime numbers between 2 and 10000, using four threads.
prime_pthr- This program uses POSIX threads to compute the number of prime numbers between 2 and 10000.