Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
61bf3204
Commit
61bf3204
authored
Jan 05, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extra debug
parent
6ee349c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
src/misc/stats.c
src/misc/stats.c
+0
-13
No files found.
src/misc/stats.c
View file @
61bf3204
...
...
@@ -63,8 +63,6 @@ int __stats_Create( vlc_object_t *p_this, char *psz_name, int i_type,
p_handler
->
i_counters
,
p_counter
);
fprintf
(
stderr
,
"Counter created
\n
"
);
return
VLC_SUCCESS
;
}
...
...
@@ -74,13 +72,9 @@ int __stats_Update( vlc_object_t *p_this, char *psz_name, vlc_value_t val )
{
counter_t
*
p_counter
;
fprintf
(
stderr
,
"Updating
\n
"
);
/* Get stats handler singleton */
stats_handler_t
*
p_handler
=
stats_HandlerGet
(
p_this
);
if
(
!
p_handler
)
return
VLC_ENOMEM
;
fprintf
(
stderr
,
"Got handler
\n
"
);
/* Look for existing element */
p_counter
=
stats_GetCounter
(
p_handler
,
p_this
->
i_object_id
,
...
...
@@ -91,8 +85,6 @@ int __stats_Update( vlc_object_t *p_this, char *psz_name, vlc_value_t val )
return
VLC_ENOOBJ
;
}
fprintf
(
stderr
,
"Got counter, updating it
\n
"
);
return
stats_CounterUpdate
(
p_handler
,
p_counter
,
val
);
}
...
...
@@ -158,7 +150,6 @@ static int stats_CounterUpdate( stats_handler_t *p_handler,
}
break
;
}
fprintf
(
stderr
,
"Counter value is %i
\n
"
,
p_counter
->
pp_samples
[
0
]
->
value
.
i_int
);
return
VLC_SUCCESS
;
}
...
...
@@ -167,11 +158,9 @@ static counter_t *stats_GetCounter( stats_handler_t *p_handler, int i_object_id,
char
*
psz_name
)
{
int
i
;
fprintf
(
stderr
,
"Looking through %i counters
\n
"
,
p_handler
->
i_counters
);
for
(
i
=
0
;
i
<
p_handler
->
i_counters
;
i
++
)
{
counter_t
*
p_counter
=
p_handler
->
pp_counters
[
i
];
fprintf
(
stderr
,
"%i - %s
\n
"
,
p_counter
->
i_source_object
,
p_counter
->
psz_name
);
if
(
p_counter
->
i_source_object
==
i_object_id
&&
!
strcmp
(
p_counter
->
psz_name
,
psz_name
)
)
{
...
...
@@ -183,11 +172,9 @@ static counter_t *stats_GetCounter( stats_handler_t *p_handler, int i_object_id,
static
stats_handler_t
*
stats_HandlerGet
(
vlc_object_t
*
p_this
)
{
fprintf
(
stderr
,
"Getting handler
\n
"
);
stats_handler_t
*
p_handler
=
(
stats_handler_t
*
)
vlc_object_find
(
p_this
->
p_vlc
,
VLC_OBJECT_STATS
,
FIND_ANYWHERE
);
fprintf
(
stderr
,
"Got it %p
\n
"
,
p_handler
);
if
(
!
p_handler
)
{
p_handler
=
stats_HandlerCreate
(
p_this
);
...
...
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