Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
PPSi
Commits
5030cad6
Commit
5030cad6
authored
Jul 23, 2012
by
Aurelio Colosimo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec-timer.c: implemented spec_timer_get_msec_tics function
parent
8b0f6f51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
spec-timer.c
arch-spec/spec-timer.c
+8
-1
No files found.
arch-spec/spec-timer.c
View file @
5030cad6
#include <ppsi/ppsi.h>
#include <ppsi/diag.h>
#include <pps_gen.h>
#include <timer.h>
static
struct
pp_timer
spec_timers
[
PP_TIMER_ARRAY_SIZE
];
...
...
@@ -55,7 +56,10 @@ void spec_timer_adjust_all(struct pp_instance *ppi, int32_t diff)
*/
}
uint32_t
spec_timer_get_msec_tics
(
void
)
{
return
timer_get_tics
();
}
int
pp_timer_init
(
struct
pp_instance
*
ppi
)
__attribute__
((
alias
(
"spec_timer_init"
)));
...
...
@@ -71,3 +75,6 @@ int pp_timer_expired(struct pp_timer *tm)
void
pp_timer_adjust_all
(
struct
pp_instance
*
ppi
,
int32_t
diff
)
__attribute__
((
alias
(
"spec_timer_adjust_all"
)));
uint32_t
wr_timer_get_msec_tics
(
void
)
__attribute__
((
alias
(
"spec_timer_get_msec_tics"
)));
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