Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
249b49fe
Commit
249b49fe
authored
Jul 13, 2023
by
Tomasz Wlostowski
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
softpll: more verbose PLL stats command (gains + ptrackers added)
parent
03433833
Pipeline
#4714
failed with stage
in 3 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
softpll_ng.c
softpll/softpll_ng.c
+19
-2
No files found.
softpll/softpll_ng.c
View file @
249b49fe
...
...
@@ -556,13 +556,20 @@ void spll_show_stats(void)
if
(
softpll
.
mode
>
0
)
{
pp_printf
(
"softpll: irqs:%d seq:%s mode:%d "
"alignment_state:%d HL%d ML%d HY=%d MY=%d DelCnt=%d setpoint:%d refcnt:%d tagcnt:%d"
,
"alignment_state:%d HL%d ML%d HY=%d MY=%d DelCnt=%d setpoint:%d refcnt:%d tagcnt:%d
h_kp:%d h_ki:%d h_shift:%d m_kp:%d m_ki:%d m_shift:%d
"
,
s
->
irq_count
,
statename
,
s
->
mode
,
s
->
ext
.
align_state
,
s
->
helper
.
ld
.
locked
,
s
->
mpll
.
locked
,
s
->
helper
.
pi
.
y
,
s
->
mpll
.
pi
.
y
,
s
->
delock_count
,
s
->
mpll
.
phase_shift_current
,
s
->
ref_count
,
s
->
tag_count
);
s
->
ref_count
,
s
->
tag_count
,
s
->
helper
.
pi
.
kp
,
s
->
helper
.
pi
.
ki
,
s
->
helper
.
pi
.
shift
,
s
->
mpll
.
pi
.
kp
,
s
->
mpll
.
pi
.
ki
,
s
->
mpll
.
pi
.
shift
);
if
(
softpll
.
mpll
.
gain_sched
)
{
...
...
@@ -606,6 +613,16 @@ void spll_show_stats(void)
s
->
pll
.
dmtd
.
pi
.
y
);
#endif
}
for
(
ch
=
0
;
ch
<
spll_n_chan_ref
;
ch
++
)
{
pp_printf
(
"softpll: ptracker%d: enabled %d n_avg %d value %d
\n
"
,
ch
,
softpll
.
ptrackers
[
ch
].
enabled
?
1
:
0
,
softpll
.
ptrackers
[
ch
].
n_avg
,
softpll
.
ptrackers
[
ch
].
phase_val
);
}
}
int
spll_shifter_busy
(
int
channel
)
...
...
Tomasz Wlostowski
@twlostow
mentioned in merge request
!9 (merged)
·
Aug 18, 2023
mentioned in merge request
!9 (merged)
mentioned in merge request !9
Toggle commit list
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