Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: sysdeps/nacl/nacl_syscalls.h

Issue 9389024: plumb glibc clock_get interfaces to irt (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: GNU style; pass through for clock_nanosleep Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sysdeps/nacl/irt_syscalls.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/nacl/nacl_syscalls.h
diff --git a/sysdeps/nacl/nacl_syscalls.h b/sysdeps/nacl/nacl_syscalls.h
index 10379e192c7a69408ff25d7b6bf4b32a66573b6c..d754849ca28d7cd42ce653b2884a109225284898 100644
--- a/sysdeps/nacl/nacl_syscalls.h
+++ b/sysdeps/nacl/nacl_syscalls.h
@@ -58,6 +58,8 @@
#define NACL_sys_gettimeofday 40
#define NACL_sys_clock 41
#define NACL_sys_nanosleep 42
+#define NACL_sys_clock_getres 43
+#define NACL_sys_clock_gettime 44
/* 50-58 previously used for multimedia syscalls */
@@ -173,6 +175,10 @@ typedef pid_t (*TYPE_nacl_getpid) (void);
typedef clock_t (*TYPE_nacl_clock) (void);
typedef int (*TYPE_nacl_nanosleep) (const struct timespec *req,
struct timespec *rem);
+typedef int (*TYPE_nacl_clock_getres) (clockid_t clk_id,
+ struct timespec *res);
+typedef int (*TYPE_nacl_clock_gettime) (clockid_t clk_id,
+ struct timespec *tp);
/* Don't use __attribute__((noreturn)) on this because we want the
wrapper to handle it if the syscall does happen to return. */
typedef void (*TYPE_nacl_exit) (int status);
« no previous file with comments | « sysdeps/nacl/irt_syscalls.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698