Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DIO 5ch TTL a
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
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 DIO 5ch TTL a
Commits
a2b5e1a7
Commit
a2b5e1a7
authored
Oct 21, 2020
by
Miguel Jimenez Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
irq-demo: Show iterations even when no verbose mode is configured
parent
e8866fd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
stats-engine.c
sw/irq-demo/dep/stats-engine.c
+3
-2
No files found.
sw/irq-demo/dep/stats-engine.c
View file @
a2b5e1a7
...
...
@@ -138,7 +138,6 @@ static void log_stats_engine(stats_engine engine, int verbose)
LOG
(
engine
,
"
\n
===================== STATS ENGINE LOG =====================
\n
"
);
if
(
verbose
)
{
LOG
(
engine
,
"Iterations: %d
\n
"
,
engine
->
n_iter
);
LOG
(
engine
,
"Timestamps in buffer: %d"
,
engine
->
n_ts
);
LOG
(
engine
,
"Next timestamp (index): %d
\n
"
,
engine
->
next_ts
);
...
...
@@ -156,9 +155,11 @@ static void log_stats_engine(stats_engine engine, int verbose)
LOG
(
engine
,
"
\t
diff[%d]: %f %s"
,
i
,
engine
->
diff_ts
[
i
],
METRICS_UNIT
);
}
LOG
(
engine
,
""
);
}
LOG
(
engine
,
"
\n
Metrics => Total timestamps: %d, Timestamps per second: %d
\n
"
LOG
(
engine
,
"Iterations: %d"
,
engine
->
n_iter
);
LOG
(
engine
,
"Metrics => Total timestamps: %d, Timestamps per second: %d
\n
"
"max: %f %s, min %f %s
\n
"
"mean: %f %s, stdev: %f %s"
,
engine
->
stats
.
ts_total
,
engine
->
stats
.
ts_per_second
,
...
...
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