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
32d02c03
Commit
32d02c03
authored
May 02, 2018
by
Arnaud Blanchard
Browse files
Merge branch 'master' of
https://promethe.u-cergy.fr/blibs/blc_program
parents
7b891e18
bb95d9e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
32d02c03
...
...
@@ -3,11 +3,30 @@ BLC program
Library providing command line program facilities
-
Parsing arguments
-
Interacting with the user in a terminal
-
1.
Parsing arguments
-
2.
Interacting with the user in a terminal
BLC program
============
Program main loop
=================
**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 keyboard or the waiting semaphores
-
Ready to start, updates the timer
{
Your computation
}
-
Compute the time of the loop
-
Post the enventual posting semaphores
-
Eventually wait for more time (if it has been faster than the requested period )
Tutorial
========
Exemple based on **t_parse_arguments**
------------------------------------------------
...
...
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