File tree Expand file tree Collapse file tree
runners/qemu_x86_64/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,3 +75,10 @@ git_override(
7575 commit = "0e9187f79a9935ca192779234b82f9d00dc4e335",
7676 remote = "https://github.com/eclipse-score/logging.git",
7777)
78+
79+ bazel_dep(name = "score_time")
80+ git_override(
81+ module_name = "score_time",
82+ commit = "414d4ce4d984e461db8153c95eceb9d5a2020f57",
83+ remote = "https://github.com/eclipse-score/time.git",
84+ )
Original file line number Diff line number Diff line change 115115 " //score/mw/log/legacy_non_verbose_api:unit_test"
116116 ]
117117 }
118+ },
119+ "score_time" : {
120+ "repo" : " https://github.com/eclipse-score/time.git" ,
121+ "hash" : " 414d4ce4d984e461db8153c95eceb9d5a2020f57" ,
122+ "metadata" : {
123+ "langs" : [
124+ " cpp"
125+ ]
126+ }
118127 }
119128 },
120129 "tooling" : {
Original file line number Diff line number Diff line change 2626fi
2727
2828echo " Starting QEMU with IFS image: ${IFS_IMAGE} "
29- qemu-system-x86_64 \
29+ sudo qemu-system-x86_64 \
3030 ${QEMU_KVM_OPTS} \
3131 -m 1G \
3232 -pidfile /tmp/qemu.pid \
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ score_pkg_bundle(
1818 other_package_files = [
1919 "//showcases/standalone:comm_pkg_files" ,
2020 "//showcases/standalone:kyron_pkg_files" ,
21+ "//showcases/standalone:time_pkg_files" ,
2122 "//showcases/orchestration_persistency:orch_per_pkg_files" ,
2223 "//showcases/simple_lifecycle:simple_lifecycle_pkg_files" ,
2324 ],
Original file line number Diff line number Diff line change @@ -36,3 +36,17 @@ score_pkg_bundle(
3636 ],
3737 package_dir = "standalone" ,
3838)
39+
40+ score_pkg_bundle (
41+ name = "time" ,
42+ bins = [
43+ "@score_time//examples/time/vehicle_time" ,
44+ "@score_time//examples/time/system_time" ,
45+ "@score_time//examples/time/steady_time" ,
46+ "@score_time//examples/time/high_res_steady_time" ,
47+ ],
48+ config_data = [
49+ "//showcases/standalone:time.score.json" ,
50+ ],
51+ package_dir = "standalone" ,
52+ )
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "name" : " Vehicle Time Example" ,
4+ "description" : " Uses VehicleTimeHandler to obtain a combined snapshot of the PTP-synchronized vehicle time and the local monotonic HIRS time" ,
5+ "apps" : [
6+ {
7+ "path" : " /showcases/bin/vehicle_time" ,
8+ "args" : [],
9+ "env" : {}
10+ },
11+ {
12+ "path" : " /showcases/bin/lifecycle_signal.sh" ,
13+ "args" : [
14+ " vehicle_time" ,
15+ " SIGTERM"
16+ ],
17+ "env" : {},
18+ "delay" : 4
19+ }
20+ ]
21+ },
22+ {
23+ "name" : " System Time Example" ,
24+ "description" : " Uses SystemTimeHandler to obtain the current wall-clock (Unix epoch) time" ,
25+ "apps" : [
26+ {
27+ "path" : " /showcases/bin/system_time" ,
28+ "args" : [],
29+ "env" : {}
30+ },
31+ {
32+ "path" : " /showcases/bin/lifecycle_signal.sh" ,
33+ "args" : [
34+ " system_time" ,
35+ " SIGTERM"
36+ ],
37+ "env" : {},
38+ "delay" : 4
39+ }
40+ ]
41+ },
42+ {
43+ "name" : " Steady Time Example" ,
44+ "description" : " Uses SteadyTimeHandler to obtain the current monotonic time" ,
45+ "apps" : [
46+ {
47+ "path" : " /showcases/bin/steady_time" ,
48+ "args" : [],
49+ "env" : {}
50+ },
51+ {
52+ "path" : " /showcases/bin/lifecycle_signal.sh" ,
53+ "args" : [
54+ " steady_time" ,
55+ " SIGTERM"
56+ ],
57+ "env" : {},
58+ "delay" : 4
59+ }
60+ ]
61+ },
62+ {
63+ "name" : " High Resolution Steady Time Example" ,
64+ "description" : " Uses HighResSteadyTimeHandler to obtain the current high-precision local steady time" ,
65+ "apps" : [
66+ {
67+ "path" : " /showcases/bin/high_res_steady_time" ,
68+ "args" : [],
69+ "env" : {}
70+ },
71+ {
72+ "path" : " /showcases/bin/lifecycle_signal.sh" ,
73+ "args" : [
74+ " high_res_steady_time" ,
75+ " SIGTERM"
76+ ],
77+ "env" : {},
78+ "delay" : 4
79+ }
80+ ]
81+ }
82+ ]
You can’t perform that action at this time.
0 commit comments