Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
47
Issues
47
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
bd7fd34a
Commit
bd7fd34a
authored
Jul 06, 2012
by
Aurelio Colosimo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnu-linux: posix_recv_msg: if no tstamp provided by kernel, get it in user space
parent
8f8153fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
posix-socket.c
arch-gnu-linux/posix-socket.c
+4
-6
No files found.
arch-gnu-linux/posix-socket.c
View file @
bd7fd34a
...
...
@@ -79,13 +79,11 @@ int posix_recv_msg(int fd, void *pkt, int len, TimeInternal *t)
t
->
seconds
,
t
->
nanoseconds
);
}
else
{
/*
* do not try to get by with recording the time here, better
* to fail because the time recorded could be well after the
* message receive, which would put a big spike in the
* offset signal sent to the clock servo
* get the recording time here, even though it may put a big
* spike in the offset signal sent to the clock servo
*/
PP_VPRINTF
(
"no receive time stamp
\n
"
);
return
0
;
PP_VPRINTF
(
"no receive time stamp
, getting it in user space
\n
"
);
pp_get_tstamp
(
t
)
;
}
return
ret
;
}
...
...
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