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
31
Issues
31
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
4b386fa1
Commit
4b386fa1
authored
Jun 25, 2017
by
Maciej Lipinski
Committed by
Grzegorz Daniluk
Jun 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tools/wr-streamers] small correction to the info displayed
parent
c2636f17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
wr-streamers.c
tools/wr-streamers.c
+7
-4
No files found.
tools/wr-streamers.c
View file @
4b386fa1
...
...
@@ -21,9 +21,12 @@ static char *stats_mesg[][2] = {
{
"Number of sent wr streamer frames since reset"
,
"tx_cnt"
},
{
"Number of received wr streamer frames since reset"
,
"rx_cnt"
},
{
"Number of lost wr streamer frames since reset"
,
"rx_cnt_lost_fr"
},
{
"Maximum latency of received frames since reset"
,
"max_lat_raw"
},
{
"Minimum latency of received frames since reset"
,
"min_lat_raw"
},
{
"Accumulated latency of received frames since reset"
,
"acc_lat"
},
{
"Maximum latency [ref clk period] of received frames since reset"
,
"max_lat_raw"
},
{
"Minimum latency [ref clk period] of received frames since reset"
,
"min_lat_raw"
},
{
"Accumulated latency [ref clk period] of received frames since reset"
,
"acc_lat"
},
{
"Counter of the accumulated frequency"
,
"acc_freq_cnt"
},
{
"Number of indications that one or more blocks in a"
"frame were lost (probably CRC error) since reset"
,
"rx_cnt_lost_blk"
},
...
...
@@ -113,7 +116,7 @@ int read_stats(struct cmd_desc *cmdd, struct atom *atoms)
iomemr32
(
wrstm
->
is_be
,
ptr
->
RX_STAT0
)));
break
;
case
4
:
fprintf
(
stderr
,
"%s:
%10u
\n
"
,
stats_mesg
[
4
][
1
],
fprintf
(
stderr
,
"%s:
0x%x
\n
"
,
stats_mesg
[
4
][
1
],
WR_STREAMERS_RX_STAT1_RX_LATENCY_MIN_R
(
iomemr32
(
wrstm
->
is_be
,
ptr
->
RX_STAT1
)));
break
;
...
...
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