Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
xenomai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
xenomai
xenomai
Commits
37ae0201
Commit
37ae0201
authored
Jan 11, 2021
by
hongzha1 via Xenomai
Committed by
Jan Kiszka
Mar 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cobalt/clock: dovetail: provide backend code to CLOCK_HOST_REALTIME
Signed-off-by:
hongzha1
<
hongzhan.chen@intel.com
>
parent
75d4c083
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/cobalt/kernel/dovetail/pipeline/clock.h
include/cobalt/kernel/dovetail/pipeline/clock.h
+2
-1
No files found.
include/cobalt/kernel/dovetail/pipeline/clock.h
View file @
37ae0201
...
...
@@ -7,6 +7,7 @@
#include <cobalt/uapi/kernel/types.h>
#include <cobalt/kernel/assert.h>
#include <linux/ktime.h>
struct
timespec64
;
...
...
@@ -52,7 +53,7 @@ static inline const char *pipeline_clock_name(void)
static
inline
int
pipeline_get_host_time
(
struct
timespec64
*
tp
)
{
/* Convert ktime_get_real_fast_ns() to timespec. */
TODO
(
);
*
tp
=
ktime_to_timespec64
(
ktime_get_real_fast_ns
()
);
return
0
;
}
...
...
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