Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
e016f53f
Commit
e016f53f
authored
Jun 29, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Conversion from net time was missing
parent
74440357
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
src/lib/rt/src/rt_rtt_logging.c
src/lib/rt/src/rt_rtt_logging.c
+10
-2
xtt/lib/xtt/src/xtt_logging.cpp
xtt/lib/xtt/src/xtt_logging.cpp
+10
-2
No files found.
src/lib/rt/src/rt_rtt_logging.c
View file @
e016f53f
...
...
@@ -1447,7 +1447,11 @@ void *rtt_logging_logproc( void *arg)
#if defined OS_LYNX || defined OS_LINUX
time_GetTime
(
&
time
);
time_Adiff
(
&
wait_time
,
&
nextime
,
&
time
);
nanosleep
(
(
struct
timespec
*
)
&
wait_time
,
NULL
);
struct
timespec
wait_time_ts
;
wait_time_ts
.
tv_sec
=
wait_time
.
tv_sec
;
wait_time_ts
.
tv_nsec
=
wait_time
.
tv_nsec
;
nanosleep
(
&
wait_time_ts
,
NULL
);
#endif
continue
;
}
...
...
@@ -1870,7 +1874,11 @@ void *rtt_logging_logproc( void *arg)
#endif
#if defined OS_LYNX || defined OS_LINUX
time_Adiff
(
&
wait_time
,
&
nextime
,
&
time
);
nanosleep
(
(
struct
timespec
*
)
&
wait_time
,
NULL
);
struct
timespec
wait_time_ts
;
wait_time_ts
.
tv_sec
=
wait_time
.
tv_sec
;
wait_time_ts
.
tv_nsec
=
wait_time
.
tv_nsec
;
nanosleep
(
&
wait_time_ts
,
NULL
);
#endif
}
...
...
xtt/lib/xtt/src/xtt_logging.cpp
View file @
e016f53f
...
...
@@ -923,7 +923,11 @@ static void *xtt_logproc( void *arg)
#if defined OS_LYNX || defined OS_LINUX
time_GetTime
(
&
time
);
time_Adiff
(
&
wait_time
,
&
nextime
,
&
time
);
nanosleep
(
(
struct
timespec
*
)
&
wait_time
,
NULL
);
struct
timespec
wait_time_ts
;
wait_time_ts
.
tv_sec
=
wait_time
.
tv_sec
;
wait_time_ts
.
tv_nsec
=
wait_time
.
tv_nsec
;
nanosleep
(
&
wait_time_ts
,
NULL
);
#endif
continue
;
}
...
...
@@ -1337,7 +1341,11 @@ static void *xtt_logproc( void *arg)
#endif
#if defined OS_LYNX || defined OS_LINUX
time_Adiff
(
&
wait_time
,
&
nextime
,
&
time
);
nanosleep
(
(
struct
timespec
*
)
&
wait_time
,
NULL
);
struct
timespec
wait_time_ts
;
wait_time_ts
.
tv_sec
=
wait_time
.
tv_sec
;
wait_time_ts
.
tv_nsec
=
wait_time
.
tv_nsec
;
nanosleep
(
&
wait_time_ts
,
NULL
);
#endif
}
...
...
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