Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
e2cb0a90
Commit
e2cb0a90
authored
May 06, 2021
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ne cpu measurment implementation
parent
40fcd549
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
openair1/PHY/TOOLS/time_meas.c
openair1/PHY/TOOLS/time_meas.c
+11
-0
No files found.
openair1/PHY/TOOLS/time_meas.c
View file @
e2cb0a90
...
@@ -191,6 +191,17 @@ void run_cpumeasur(void) {
...
@@ -191,6 +191,17 @@ void run_cpumeasur(void) {
}
}
void
run_cpumeasur
(
void
)
{
struct
sched_param
schedp
;
pthread_setname_np
(
pthread_self
(),
"measur"
);
schedp
.
sched_priority
=
0
;
int
rt
=
pthread_setschedparam
(
pthread_self
(),
SCHED_IDLE
,
&
schedp
);
AssertFatal
(
rt
==
0
,
"couldn't set measur thread priority: %s
\n
"
,
strerror
(
errno
));
initNotifiedFIFO
(
&
measur_fifo
);
while
(
1
)
{
}
}
void
init_meas
(
void
)
void
init_meas
(
void
)
{
{
pthread_t
thid
;
pthread_t
thid
;
...
...
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