Mercurial > libavcodec.hg
changeset 5138:189a1229a7a6 libavcodec
removing underscores from block profiling renaming to xx_
author | mhoffman |
---|---|
date | Wed, 13 Jun 2007 12:46:27 +0000 |
parents | 0134da1737d0 |
children | f3d9859953c1 |
files | bfin/dsputil_bfin.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {