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
94d2ac54
Commit
94d2ac54
authored
Jul 10, 2020
by
Tomasz Wlostowski
Committed by
Grzegorz Daniluk
Oct 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitor_ppsi: report bitslide and aux clock phases in the 'stat' command
parent
c24511b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
monitor_ppsi.c
monitor/monitor_ppsi.c
+4
-2
No files found.
monitor/monitor_ppsi.c
View file @
94d2ac54
...
...
@@ -366,7 +366,7 @@ int wrc_log_stats(void)
for
(
i
=
0
;
i
<
n_out
;
i
++
)
{
aux_stat
=
spll_get_aux_status
(
i
);
pp_printf
(
"aux%d:%
x %x
"
,
i
,
aux_stat
.
flags
,
aux_stat
.
phase
);
pp_printf
(
"aux%d:%
08x%08x
"
,
i
,
aux_stat
.
flags
,
aux_stat
.
phase
);
}
/* fixme: clock is not always 125 MHz */
...
...
@@ -389,7 +389,9 @@ int wrc_log_stats(void)
pp_printf
(
"cko:%d "
,
(
int32_t
)
(
s
->
offset
));
pp_printf
(
"setp:%d "
,
(
int32_t
)
(
s
->
cur_setpoint
));
pp_printf
(
"ucnt:%d "
,
(
int32_t
)
s
->
update_count
);
pp_printf
(
"bslide:%d "
,
ep_get_bitslide
());
}
pp_printf
(
"hd:%d md:%d ad:%d "
,
spll_get_dac
(
-
1
),
spll_get_dac
(
0
),
spll_get_dac
(
1
));
...
...
@@ -433,7 +435,7 @@ int wrc_wr_diags(void)
if
(
time_before
(
timer_get_tics
(),
last_jiffies
+
WRC_DIAG_REFRESH_PERIOD
))
return
0
;
last_jiffies
=
timer_get_tics
();
/* ***************** lock data from reading by user **************** */
wdiag_set_valid
(
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