This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
TT#82401 amend stats gather to keep track of braces
Change-Id: I042179fe26118aef34e84412c3790059b7f6e1a6
changes/14/40714/2
Richard Fuchs
6 years ago
parent
1015cead8b
commit
6d2aeccda6
2 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
daemon/statistics.c
+1
-0
include/statistics.h
+ 4
- 1
daemon/statistics.c
View File
@ -330,10 +330,13 @@ void statistics_update_oneway(struct call* c) {
|
|
m
-
>
label
[
0
]
=
=
'
{
'
\
|
|
m
-
>
label
[
0
]
=
=
'
}
'
\
|
|
m
-
>
label
[
0
]
=
=
'
]
'
)
\
&
&
m
-
>
label
[
1
]
=
=
0
)
{
\
&
&
m
-
>
label
[
1
]
=
=
0
)
\
{
\
m
-
>
is_bracket
=
1
;
\
if
(
m
-
>
label
[
0
]
=
=
'
}
'
|
|
m
-
>
label
[
0
]
=
=
'
]
'
)
\
m
-
>
is_close_bracket
=
1
;
\
if
(
m
-
>
label
[
0
]
=
=
'
{
'
|
|
m
-
>
label
[
0
]
=
=
'
}
'
)
\
m
-
>
is_brace
=
1
;
\
}
\
SM_PUSH
(
ret
,
m
)
;
\
}
while
(
0
)
+ 1
- 0
include/statistics.h
View File
@ -100,6 +100,7 @@ struct stats_metric {
int64_t
int_value
;
int
is_bracket
;
int
is_close_bracket
;
int
is_brace
;
int
is_follow_up
;
int
is_int
;
}
;
Write
Preview
Loading…
Cancel
Save