diff options
Diffstat (limited to 'libjava/java/lang/natSystem.cc')
-rw-r--r-- | libjava/java/lang/natSystem.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libjava/java/lang/natSystem.cc b/libjava/java/lang/natSystem.cc index 0a4c8b9..42a1325 100644 --- a/libjava/java/lang/natSystem.cc +++ b/libjava/java/lang/natSystem.cc @@ -1,6 +1,6 @@ // natSystem.cc - Native code implementing System class. -/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2006 Free Software Foundation This file is part of libgcj. @@ -124,6 +124,12 @@ java::lang::System::currentTimeMillis (void) return _Jv_platform_gettimeofday (); } +jlong +java::lang::System::nanoTime () +{ + return _Jv_platform_nanotime (); +} + jint java::lang::System::identityHashCode (jobject obj) { |