Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - stand-alone application
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC DEL 1ns 4cha - stand-alone application
Commits
b5fcf438
Commit
b5fcf438
authored
Oct 06, 2014
by
Jose Jimenez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger_sw/linux/time.c: Adepted to the time referece
Signed-off-by:
Jose Jimenez
<
ppjm@correo.ugr.es
>
parent
5320bc75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
time.c
debugger_sw/linux/time.c
+2
-2
No files found.
debugger_sw/linux/time.c
View file @
b5fcf438
...
...
@@ -12,11 +12,11 @@
#include <kernel2lm32_layer.h>
unsigned
long
msecs_to_jiffies
(
const
unsigned
int
m
){
return
m
*
20
*
1000
;
return
m
;
}
unsigned
int
jiffies_to_msecs
(
const
unsigned
long
j
){
return
div_u64_rem
(
j
,
20
*
1000
,
NULL
)
;
return
j
;
}
void
getnstimeofday
(
struct
timespec
*
ts
){
...
...
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