Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1e33095b
Commit
1e33095b
authored
Jan 19, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bfin: dsputil: Drop broken and trivial profiling code
parent
f5f09976
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
40 deletions
+0
-40
dsputil_bfin.h
libavcodec/bfin/dsputil_bfin.h
+0
-40
No files found.
libavcodec/bfin/dsputil_bfin.h
View file @
1e33095b
...
...
@@ -52,44 +52,4 @@ int ff_bfin_sse4 (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
int
ff_bfin_sse8
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse16
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
#ifdef BFIN_PROFILE
static
double
Telem
[
16
];
static
char
*
TelemNames
[
16
];
static
int
TelemCnt
;
#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
)
{
int
i
;
double
s
=
0
;
for
(
i
=
0
;
i
<
16
;
i
++
)
{
double
v
;
if
(
TelemNames
[
i
])
{
v
=
Telem
[
i
]
/
TelemCnt
;
av_log
(
NULL
,
AV_LOG_DEBUG
,
"%-20s: %12.4f
\t
%12.4f
\n
"
,
TelemNames
[
i
],
v
,
v
/
64
);
s
=
s
+
Telem
[
i
];
}
}
av_log
(
NULL
,
AV_LOG_DEBUG
,
"%-20s: %12.4f
\t
%12.4f
\n
%20.4f
\t
%d
\n
"
,
"total"
,
s
/
TelemCnt
,
s
/
TelemCnt
/
64
,
s
,
TelemCnt
);
}
static
void
bfprof
(
void
)
{
static
int
init
;
if
(
!
init
)
atexit
(
prof_report
);
init
=
1
;
TelemCnt
++
;
}
#else
#define PROF(a,b)
#define EPROF()
#define bfprof()
#endif
#endif
/* AVCODEC_BFIN_DSPUTIL_BFIN_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment