"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/midend/programAnalysis/arithmeticIntensity/instrumentor_lib.h" between
rose-0.11.35.0.tar.gz and rose-0.11.36.0.tar.gz

About: ROSE is a compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C (C89 and C98), C++ (C++98 and C++11), UPC, Fortran (77/95/2003), OpenMP, Java, Python and PHP applications.

instrumentor_lib.h  (rose-0.11.35.0):instrumentor_lib.h  (rose-0.11.36.0)
// Code Instrumentor library functions: __ci_ as prefix // Code Instrumentor library functions: __ci_ as prefix
#ifndef INSTRUMENTOR_LIB_H
#define INSTRUMENTOR_LIB_H
/* /*
* Assumption: the instrumentor tool has two execution modes: * Assumption: the instrumentor tool has two execution modes:
* 1. count the total number of loops in an application, saving results like: 0 /path/to/firstloop:line:col * 1. count the total number of loops in an application, saving results like: 0 /path/to/firstloop:line:col
* 2. using the results, instrument the loop with __lc_counters[loop_index]++ ; and run the code * 2. using the results, instrument the loop with __lc_counters[loop_index]++ ; and run the code
* *
* The execution of the code will write counters into a file like: 0 /path/to/ firstloop:line:col 123 * The execution of the code will write counters into a file like: 0 /path/to/ firstloop:line:col 123
* the 0th loop at location /path/to/firstloop:line:col, it has 123 iterations during the execution. * the 0th loop at location /path/to/firstloop:line:col, it has 123 iterations during the execution.
*/ */
#ifdef __cplusplus
extern "C" {
#endif
void __ci_writeResultsToFile (char* input_file_name, char* output_file_name, int * loop_iter_counters, int loop_count); void __ci_writeResultsToFile (char* input_file_name, char* output_file_name, int * loop_iter_counters, int loop_count);
#ifdef __cplusplus
}
#endif
#endif // INSTRUMENTOR_LIB_H
 End of changes. 3 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)