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
50
Issues
50
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
48a914ff
Commit
48a914ff
authored
Jul 23, 2019
by
Jean-Claude BAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
servo.c: Add comments
Just comments, no code changes.
parent
13e4a0cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
servo.c
proto-standard/servo.c
+6
-1
No files found.
proto-standard/servo.c
View file @
48a914ff
/*
* Copyright (C) 2011 CERN (www.cern.ch)
* Author: Aurelio Colosimo
* Author: Aurelio Colosimo
, Jean-Claude BAU
* Based on PTPd project v. 2.1.0 (see AUTHORS for details)
*
* Released according to the GNU LGPL, version 2.1 or any later version.
...
...
@@ -85,6 +85,8 @@ static int __getMsbSet(uint64_t value) {
* Return :
* (op1 x op2)/2^62. The returned value is a 2^X scaled value
*
* Based on Rens Roosenstein work.
* See the gitlab site https://ohwr.org/project/wr-fixed-point-calculations for further information.
*/
static
uint64_t
__mulRelativeDifference
(
RelativeDifference
op1
,
uint64_t
op2
)
{
...
...
@@ -147,6 +149,9 @@ static TimeInterval calculateDelayAsymmetry(RelativeDifference scaledDelayAsymCo
/*
* Calculation of delay asymmetry with polynomial expansion
*
* Based on Rens Roosenstein work.
* See the gitlab site https://ohwr.org/project/wr-fixed-point-calculations for further information.
*/
RelativeDifference
pp_servo_calculateDelayAsymCoefficient
(
RelativeDifference
delayCoeff
){
...
...
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