Open main menu

CDOT Wiki β

Changes

Savy Cat

597 bytes added, 16:24, 27 March 2018
Rotate90
==== Profiling Using gprof ====
In order to get performance information using gprof, copy the CImg folder containing all source files to matrix. CImg is a cross-platform library and should work as is.  To get the libjpeg library file (libjpeg.a), download the Unix formatted package jpegsrc.v9c.tar.gz [http://www.ijg.org/ from their homepage] and copy this to matrix. To extract the contents, issue the command:
tar -xzf jpegsrc.v9c.tar.gz
Next, create a new folder to contain the built solution files.
 
From the extracted source folder ''jpeg-9c'', run the projects configure script and specify the folder you created with the following command:
 
./configure --prefix=/home/username/dps915/project/jpeg-build
 
The script sets the build path, checks system information, compiler settings, required files, and generates a new makefile.
 
Next, run make:
 
make
 
This compiles files within the source folder.
 
Finally, run the following, which will put the files our project needs into the jpeg-build folder we created:
make install
=== Assignment 2 ===
=== Assignment 3 ===
93
edits