Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
blaar
blibs
blc_program
Commits
2217645d
Commit
2217645d
authored
May 02, 2018
by
Arnaud Blanchard
Browse files
Update README.md
parent
4efd224c
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
2217645d
...
...
@@ -10,20 +10,20 @@ Library providing command line program facilities
Program main loop
=================
BLC_COMMAND_LOOP
-
1.
Eventually acquires the profiling data.
-
2.
Check if it is the iteration limit and pauses in this case.
-
3.
Wait for the k
a
yboard or the waiting semaphores
.
-
4.
Ready to start, updates the timer
.
Main program
5.
Compute the time of the loop
6.
Eventually wait for more time
BLC program
========
====
BLC_COMMAND_LOOP
(period in micro seconds)
-
Eventually acquires the profiling data.
-
Check if it is the iteration limit and pauses in this case.
-
Wait for the k
e
yboard or the waiting semaphores
-
Ready to start, updates the timer
{
Your main activity
}
-
Compute the time of the loop
-
Eventually wait for more time
(if it is faster that the requested period )
Tutorial
========
Exemple based on **t_parse_arguments**
------------------------------------------------
...
...
Write
Preview
Supports
Markdown
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