Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
oai
openairinterface5G
Commits
96b1d475
Commit
96b1d475
authored
May 15, 2018
by
Cedric Roux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/fix-rdtsc' into develop_integration_2018_w19
parents
a42e2de0
ad46183e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair2/UTIL/LOG/log.h
openair2/UTIL/LOG/log.h
+2
-2
No files found.
openair2/UTIL/LOG/log.h
View file @
96b1d475
...
...
@@ -373,9 +373,9 @@ void *log_thread_function(void * list);
/* @}*/
static
__inline__
uint64_t
rdtsc
(
void
)
{
uint
64
_t
a
,
d
;
uint
32
_t
a
,
d
;
__asm__
volatile
(
"rdtsc"
:
"=a"
(
a
),
"=d"
(
d
));
return
(
d
<<
32
)
|
a
;
return
(
((
uint64_t
)
d
)
<<
32
)
|
((
uint64_t
)
a
)
;
}
#define DEBUG_REALTIME 1
...
...
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