Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shrapnel
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
shrapnel
Commits
fc325842
Commit
fc325842
authored
Jan 31, 2013
by
Sam Rushing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transition away from ironport's libc.pxd to the ones distributed with Cython
parent
1d05778d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
pyrex/tsc_time_include.pyx
pyrex/tsc_time_include.pyx
+9
-8
No files found.
pyrex/tsc_time_include.pyx
View file @
fc325842
...
...
@@ -36,18 +36,19 @@
# This will allow direct C access to the member variables of the Time objects.
cimport
coro.clocks.tsc_time
as
tsc_time
from
libc.stdint
cimport
int64_t
cdef
extern
from
"tsc_time.h"
:
# Raw conversion functions.
libc
.
int64_t
c_usec_to_ticks
"usec_to_ticks"
(
libc
.
int64_t
)
libc
.
int64_t
c_ticks_to_usec
"ticks_to_usec"
(
libc
.
int64_t
)
libc
.
int64_t
c_sec_to_ticks
"sec_to_ticks"
(
libc
.
int64_t
)
libc
.
int64_t
c_ticks_to_sec
"ticks_to_sec"
(
libc
.
int64_t
)
double
c_ticks_to_fsec
"ticks_to_fsec"
(
libc
.
int64_t
)
libc
.
int64_t
c_fsec_to_ticks
"fsec_to_ticks"
(
double
)
int64_t
c_usec_to_ticks
"usec_to_ticks"
(
int64_t
)
int64_t
c_ticks_to_usec
"ticks_to_usec"
(
int64_t
)
int64_t
c_sec_to_ticks
"sec_to_ticks"
(
int64_t
)
int64_t
c_ticks_to_sec
"ticks_to_sec"
(
int64_t
)
double
c_ticks_to_fsec
"ticks_to_fsec"
(
int64_t
)
int64_t
c_fsec_to_ticks
"fsec_to_ticks"
(
double
)
void
c_update_time_relation
"update_time_relation"
()
libc
.
int64_t
c_rdtsc
"rdtsc"
()
int64_t
c_rdtsc
"rdtsc"
()
# Constructors.
tsc_time
.
TSC
now_tsc
()
...
...
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