Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC TDC 1ns 5cha - Software
Commits
358a374d
Commit
358a374d
authored
Feb 03, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: show reference id
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
232ae159
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
fmc-tdc-tstamp.c
tools/fmc-tdc-tstamp.c
+5
-2
No files found.
tools/fmc-tdc-tstamp.c
View file @
358a374d
...
...
@@ -54,15 +54,18 @@ void dump(unsigned int ch, struct fmctdc_time *ts, int fmt_wr, int diff_mode)
uint64_t
ns
;
double
s
,
hz
;
fprintf
(
stdout
,
"channel %d | channel seq %-12u | board seq %-12u
\n
ts "
,
ch
,
ts
->
seq_id
,
ts
->
gseq_id
);
fprintf
(
stdout
,
"channel %d | channel seq %-12u | board seq %-12u
\n
ts "
,
ch
,
ts
->
seq_id
,
ts
->
gseq_id
);
dump_timestamp
(
*
ts
,
fmt_wr
);
fprintf
(
stdout
,
"
\n
"
);
ts_tmp
=
*
ts
;
fmctdc_ts_sub
(
&
ts_tmp
,
&
ts_prev
[
ch
]);
if
(
diff_mode
)
if
(
diff_mode
)
{
fprintf
(
stdout
,
" refer to board seq %-12u
\n
"
,
ts
->
ref_gseq_id
);
return
;
}
/* We are in normal mode, calculate the difference */
fprintf
(
stdout
,
" diff "
);
...
...
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