Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
e7b8c51b
Commit
e7b8c51b
authored
May 06, 2020
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testhls: report performance for hls-mark
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
030d9acd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
testhls.cc
src/testhls.cc
+5
-0
No files found.
src/testhls.cc
View file @
e7b8c51b
...
...
@@ -284,6 +284,8 @@ mark_zexpand (WavData& wav_data, size_t zero_frames, const string& bits)
int
hls_mark
(
const
string
&
infile
,
const
string
&
outfile
,
const
string
&
bits
)
{
double
start_time
=
get_time
();
TSReader
reader
;
Error
err
=
reader
.
load
(
infile
);
...
...
@@ -332,6 +334,9 @@ hls_mark (const string& infile, const string& outfile, const string& bits)
return
1
;
}
double
end_time
=
get_time
();
printf
(
"hls_time %f %f
\n
"
,
start_pos
/
double
(
wav_data
.
sample_rate
()),
(
end_time
-
start_time
)
*
1000
/* ms */
);
return
0
;
}
...
...
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