Loop execution time reporting
commitafad88a8fd4e8c070c7a70e7a4e148af7232d06c
authorRoshan Dathathri <roshan18@gmail.com>
Thu, 2 Jan 2014 09:01:23 +0000 (2 14:31 +0530)
committerCedric Bastoul <cedric.bastoul@u-psud.fr>
Wed, 8 Jan 2014 19:59:41 +0000 (8 20:59 +0100)
treebb5b9adf9722efbecff44af5974413a1c486d32e
parent72a16907ae2ad7250d202f4605372d68f27baabb
Loop execution time reporting

Set clast_for->time_var_name to the name of the variable which will
accumulate execution time of the body inside this loop (in seconds
double precision floating-point) if macro TIME is defined (-DTIME).
The code is linked to cloog_util_rtclock() that relies on gettimeofday
and is part of the CLooG library.

Signed-off-by: Uday Bondhugula <udayreddy@gmail.com>
Signed-off-by: Cedric Bastoul <cedric.bastoul@u-psud.fr>
Makefile.am
include/cloog/clast.h
include/cloog/cloog.h
include/cloog/util.h [copied from include/cloog/cloog.h with 73% similarity]
source/clast.c
source/pprint.c
source/program.c
source/util.c [copied from include/cloog/cloog.h with 71% similarity]