Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
contiki-ng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NATAF Emmanuel
contiki-ng
Commits
27d7ce31
Commit
27d7ce31
authored
5 years ago
by
Simon Duquennoy
Browse files
Options
Downloads
Patches
Plain Diff
Nightly tests: add config optims3, for explicit evaluation of multi-choffset Orchestra
parent
0ed76345
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/benchmarks/rpl-req-resp/Makefile
+4
-0
4 additions, 0 deletions
examples/benchmarks/rpl-req-resp/Makefile
examples/benchmarks/rpl-req-resp/project-conf.h
+14
-3
14 additions, 3 deletions
examples/benchmarks/rpl-req-resp/project-conf.h
with
18 additions
and
3 deletions
examples/benchmarks/rpl-req-resp/Makefile
+
4
−
0
View file @
27d7ce31
...
@@ -27,6 +27,10 @@ else ifeq ($(CONFIG),CONFIG_TSCH_OPTIMS2)
...
@@ -27,6 +27,10 @@ else ifeq ($(CONFIG),CONFIG_TSCH_OPTIMS2)
MAKE_MAC
=
MAKE_MAC_TSCH
MAKE_MAC
=
MAKE_MAC_TSCH
MODULES
+=
$(
CONTIKI_NG_SERVICES_DIR
)
/orchestra
MODULES
+=
$(
CONTIKI_NG_SERVICES_DIR
)
/orchestra
CFLAGS
+=
-DCONFIG_OPTIMS
=
2
CFLAGS
+=
-DCONFIG_OPTIMS
=
2
else
ifeq
($(CONFIG),CONFIG_TSCH_OPTIMS3)
MAKE_MAC
=
MAKE_MAC_TSCH
MODULES
+=
$(
CONTIKI_NG_SERVICES_DIR
)
/orchestra
CFLAGS
+=
-DCONFIG_OPTIMS
=
3
endif
endif
include
$(CONTIKI)/Makefile.include
include
$(CONTIKI)/Makefile.include
This diff is collapsed.
Click to expand it.
examples/benchmarks/rpl-req-resp/project-conf.h
+
14
−
3
View file @
27d7ce31
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
#define TSCH_CONF_RX_WAIT 1000
#define TSCH_CONF_RX_WAIT 1000
#define ORCHESTRA_CONF_UNICAST_PERIOD 7
#define ORCHESTRA_CONF_UNICAST_PERIOD 7
#if CONFIG_OPTIMS
=
= 2
#if CONFIG_OPTIMS
>
= 2
/* Five nines reliability paper used the config below */
/* Five nines reliability paper used the config below */
#define RPL_CONF_DIO_INTERVAL_MIN 14
/* 2^14 ms = 16.384 s */
#define RPL_CONF_DIO_INTERVAL_MIN 14
/* 2^14 ms = 16.384 s */
...
@@ -40,7 +40,18 @@
...
@@ -40,7 +40,18 @@
#define TSCH_CONF_KEEPALIVE_TIMEOUT (20 * CLOCK_SECOND)
#define TSCH_CONF_KEEPALIVE_TIMEOUT (20 * CLOCK_SECOND)
#define TSCH_CONF_MAX_KEEPALIVE_TIMEOUT (60 * CLOCK_SECOND)
#define TSCH_CONF_MAX_KEEPALIVE_TIMEOUT (60 * CLOCK_SECOND)
#endif
#endif
/* CONFIG_OPTIMS >= 2 */
#endif
#if CONFIG_OPTIMS < 3
/* For optims1 and optims2, configure Orchestra unicast slotframe with only
* one choffset, for consistency with earlier version. Optims3 runs with the
* defaults, that is, with multiple choffsets on the unicast slotframe. */
#define ORCHESTRA_CONF_UNICAST_MIN_CHANNEL_OFFSET 2
#define ORCHESTRA_CONF_UNICAST_MAX_CHANNEL_OFFSET 2
#endif
/* CONFIG_OPTIMS >= 3 */
#endif
/* CONFIG_OPTIMS >= 1 */
#endif
/* PROJECT_CONF_H_ */
#endif
/* PROJECT_CONF_H_ */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment