Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
2d4dd950
Commit
2d4dd950
authored
Oct 10, 2019
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused sleep function()
parent
9279fc2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
openair2/ENB_APP/flexran_agent_timer.c
openair2/ENB_APP/flexran_agent_timer.c
+0
-12
openair2/ENB_APP/flexran_agent_timer.h
openair2/ENB_APP/flexran_agent_timer.h
+0
-3
No files found.
openair2/ENB_APP/flexran_agent_timer.c
View file @
2d4dd950
...
...
@@ -172,18 +172,6 @@ err_code_t flexran_agent_destroy_timers(void) {
return
0
;
}
void
flexran_agent_sleep_until
(
struct
timespec
*
ts
,
int
delay
)
{
ts
->
tv_nsec
+=
delay
;
if
(
ts
->
tv_nsec
>=
1000
*
1000
*
1000
)
{
ts
->
tv_nsec
-=
1000
*
1000
*
1000
;
ts
->
tv_sec
++
;
}
clock_nanosleep
(
CLOCK_MONOTONIC
,
TIMER_ABSTIME
,
ts
,
NULL
);
}
err_code_t
flexran_agent_stop_timer
(
long
timer_id
)
{
struct
flexran_agent_timer_element_s
*
e
=
NULL
;
struct
flexran_agent_timer_element_s
search
;
...
...
openair2/ENB_APP/flexran_agent_timer.h
View file @
2d4dd950
...
...
@@ -125,8 +125,5 @@ Protocol__FlexranMessage * flexran_agent_process_timeout(long timer_id, void* ti
/* Comparator function comparing two timers. Decides the ordering of the timers */
int
flexran_agent_compare_timer
(
struct
flexran_agent_timer_element_s
*
a
,
struct
flexran_agent_timer_element_s
*
b
);
/*Specify a delay in nanoseconds to timespec and sleep until then*/
void
flexran_agent_sleep_until
(
struct
timespec
*
ts
,
int
delay
);
/* RB_PROTOTYPE is for .h files */
RB_PROTOTYPE
(
flexran_agent_map
,
flexran_agent_timer_element_s
,
entry
,
flexran_agent_compare_timer
);
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