# HG changeset patch # User mhoffman # Date 1181738787 0 # Node ID 189a1229a7a6f1f1c6d11faacc7eb5433fe93bf7 # Parent 0134da1737d04a2ed27cc7a3fb69ae61fd61b571 removing underscores from block profiling renaming to xx_ diff -r 0134da1737d0 -r 189a1229a7a6 bfin/dsputil_bfin.h --- a/bfin/dsputil_bfin.h Wed Jun 13 08:28:00 2007 +0000 +++ b/bfin/dsputil_bfin.h Wed Jun 13 12:46:27 2007 +0000 @@ -32,8 +32,8 @@ static char *TelemNames[16]; static int TelemCnt; -#define PROF(lab,e) { int __e = e; char*__lab = lab; uint64_t _t0 = read_time(); -#define EPROF() _t0 = read_time()-_t0; Telem[__e] = Telem[__e] + _t0; TelemNames[__e] = __lab; } +#define PROF(lab,e) { int xx_e = e; char*xx_lab = lab; uint64_t xx_t0 = read_time(); +#define EPROF() xx_t0 = read_time()-xx_t0; Telem[xx_e] = Telem[xx_e] + xx_t0; TelemNames[xx_e] = xx_lab; } static void prof_report (void) {