diff options
| author | Michael Meskes <meskes@debian.org> | 2009-12-01 08:26:35 +0100 |
|---|---|---|
| committer | Michael Meskes <meskes@debian.org> | 2009-12-01 08:26:35 +0100 |
| commit | 92d607e8349d0f1268b236b3bf4cb433179253f1 (patch) | |
| tree | 6230e827557f7cd76ac792d43f4cc6a81be3b272 /src/VBox/Runtime/common/time | |
| parent | 541f51c4dab24f1decc1cb44888af9d45d619338 (diff) | |
| download | virtualbox-92d607e8349d0f1268b236b3bf4cb433179253f1.tar.gz | |
Imported Upstream version 3.1.0-dfsgupstream/3.1.0-dfsg
Diffstat (limited to 'src/VBox/Runtime/common/time')
| -rw-r--r-- | src/VBox/Runtime/common/time/time.cpp | 10 | ||||
| -rw-r--r-- | src/VBox/Runtime/common/time/timeprog.cpp | 10 | ||||
| -rw-r--r-- | src/VBox/Runtime/common/time/timesup.cpp | 11 | ||||
| -rw-r--r-- | src/VBox/Runtime/common/time/timesupA.asm | 2 | ||||
| -rw-r--r-- | src/VBox/Runtime/common/time/timesupA.mac | 2 | ||||
| -rw-r--r-- | src/VBox/Runtime/common/time/timesupref.cpp | 9 | ||||
| -rw-r--r-- | src/VBox/Runtime/common/time/timesupref.h | 2 | ||||
| -rw-r--r-- | src/VBox/Runtime/common/time/timesysalias.cpp | 5 |
8 files changed, 43 insertions, 8 deletions
diff --git a/src/VBox/Runtime/common/time/time.cpp b/src/VBox/Runtime/common/time/time.cpp index fa783c634..2292a0012 100644 --- a/src/VBox/Runtime/common/time/time.cpp +++ b/src/VBox/Runtime/common/time/time.cpp @@ -1,4 +1,4 @@ -/* $Id: time.cpp $ */ +/* $Id: time.cpp 21337 2009-07-07 14:58:27Z vboxsync $ */ /** @file * IPRT - Time. */ @@ -34,6 +34,8 @@ *******************************************************************************/ #define LOG_GROUP RTLOGGROUP_TIME #include <iprt/time.h> +#include "internal/iprt.h" + #include <iprt/string.h> #include <iprt/assert.h> #include "internal/time.h" @@ -246,6 +248,7 @@ RTDECL(bool) RTTimeIsLeapYear(int32_t i32Year) { return rtTimeIsLeapYear(i32Year); } +RT_EXPORT_SYMBOL(RTTimeIsLeapYear); /** @@ -351,6 +354,7 @@ RTDECL(PRTTIME) RTTimeExplode(PRTTIME pTime, PCRTTIMESPEC pTimeSpec) return pTime; } +RT_EXPORT_SYMBOL(RTTimeExplode); /** @@ -402,6 +406,7 @@ RTDECL(PRTTIMESPEC) RTTimeImplode(PRTTIMESPEC pTimeSpec, PCRTTIME pTime) pTimeSpec->i64NanosecondsRelativeToUnixEpoch = i64Nanos; return pTimeSpec; } +RT_EXPORT_SYMBOL(RTTimeImplode); /** @@ -652,6 +657,7 @@ RTDECL(PRTTIME) RTTimeNormalize(PRTTIME pTime) pTime->fFlags |= RTTIME_FLAGS_TYPE_UTC; return pTime; } +RT_EXPORT_SYMBOL(RTTimeNormalize); /** @@ -701,6 +707,7 @@ RTDECL(char *) RTTimeToString(PCRTTIME pTime, char *psz, size_t cb) } return psz; } +RT_EXPORT_SYMBOL(RTTimeToString); /** @@ -717,4 +724,5 @@ RTDECL(char *) RTTimeSpecToString(PCRTTIMESPEC pTime, char *psz, size_t cb) RTTIME Time; return RTTimeToString(RTTimeExplode(&Time, pTime), psz, cb); } +RT_EXPORT_SYMBOL(RTTimeSpecToString); diff --git a/src/VBox/Runtime/common/time/timeprog.cpp b/src/VBox/Runtime/common/time/timeprog.cpp index 15108867e..a43f7a9a9 100644 --- a/src/VBox/Runtime/common/time/timeprog.cpp +++ b/src/VBox/Runtime/common/time/timeprog.cpp @@ -1,4 +1,4 @@ -/* $Id: timeprog.cpp $ */ +/* $Id: timeprog.cpp 21337 2009-07-07 14:58:27Z vboxsync $ */ /** @file * IPRT - Time Relative to Program Start. */ @@ -33,6 +33,8 @@ * Header Files * *******************************************************************************/ #include <iprt/time.h> +#include "internal/iprt.h" + #include <iprt/assert.h> #include "internal/time.h" @@ -47,6 +49,7 @@ RTDECL(uint64_t) RTTimeProgramNanoTS(void) { return RTTimeNanoTS() - g_u64ProgramStartNanoTS; } +RT_EXPORT_SYMBOL(RTTimeProgramNanoTS); /** @@ -58,6 +61,7 @@ RTDECL(uint64_t) RTTimeProgramMicroTS(void) { return RTTimeProgramNanoTS() / 1000; } +RT_EXPORT_SYMBOL(RTTimeProgramMicroTS); /** @@ -69,6 +73,7 @@ RTDECL(uint64_t) RTTimeProgramMilliTS(void) { return RTTimeMilliTS() - g_u64ProgramStartMilliTS; } +RT_EXPORT_SYMBOL(RTTimeProgramMilliTS); /** @@ -81,6 +86,7 @@ RTDECL(uint32_t) RTTimeProgramSecTS(void) AssertMsg(g_u64ProgramStartMilliTS, ("RTR3Init hasn't been called!\n")); return (uint32_t)(RTTimeProgramMilliTS() / 1000); } +RT_EXPORT_SYMBOL(RTTimeProgramSecTS); /** @@ -92,3 +98,5 @@ RTDECL(uint64_t) RTTimeProgramStartNanoTS(void) { return g_u64ProgramStartNanoTS; } +RT_EXPORT_SYMBOL(RTTimeProgramStartNanoTS); + diff --git a/src/VBox/Runtime/common/time/timesup.cpp b/src/VBox/Runtime/common/time/timesup.cpp index c0722fbf6..d76da39d5 100644 --- a/src/VBox/Runtime/common/time/timesup.cpp +++ b/src/VBox/Runtime/common/time/timesup.cpp @@ -1,4 +1,4 @@ -/* $Id: timesup.cpp $ */ +/* $Id: timesup.cpp 21337 2009-07-07 14:58:27Z vboxsync $ */ /** @file * IPRT - Time using SUPLib. */ @@ -34,6 +34,8 @@ *******************************************************************************/ #define LOG_GROUP RTLOGGROUP_TIME #include <iprt/time.h> +#include "internal/iprt.h" + #include <iprt/asm.h> #include <iprt/assert.h> #include <iprt/err.h> @@ -190,6 +192,7 @@ RTDECL(uint64_t) RTTimeNanoTS(void) { return rtTimeNanoTSInternal(); } +RT_EXPORT_SYMBOL(RTTimeNanoTS); /** @@ -201,6 +204,7 @@ RTDECL(uint64_t) RTTimeMilliTS(void) { return rtTimeNanoTSInternal() / 1000000; } +RT_EXPORT_SYMBOL(RTTimeMilliTS); #if !defined(IN_GUEST) && !defined(RT_NO_GIP) @@ -213,6 +217,7 @@ RTDECL(uint32_t) RTTimeDbgSteps(void) { return g_TimeNanoTSData.c1nsSteps; } +RT_EXPORT_SYMBOL(RTTimeDbgSteps); /** @@ -224,6 +229,7 @@ RTDECL(uint32_t) RTTimeDbgExpired(void) { return g_TimeNanoTSData.cExpired; } +RT_EXPORT_SYMBOL(RTTimeDbgExpired); /** @@ -235,6 +241,7 @@ RTDECL(uint32_t) RTTimeDbgBad(void) { return g_TimeNanoTSData.cBadPrev; } +RT_EXPORT_SYMBOL(RTTimeDbgBad); /** @@ -246,4 +253,6 @@ RTDECL(uint32_t) RTTimeDbgRaces(void) { return g_TimeNanoTSData.cUpdateRaces; } +RT_EXPORT_SYMBOL(RTTimeDbgRaces); #endif /* !IN_GUEST && !RT_NO_GIP */ + diff --git a/src/VBox/Runtime/common/time/timesupA.asm b/src/VBox/Runtime/common/time/timesupA.asm index c92f84b28..4f268a4c9 100644 --- a/src/VBox/Runtime/common/time/timesupA.asm +++ b/src/VBox/Runtime/common/time/timesupA.asm @@ -1,4 +1,4 @@ -; $Id: timesupA.asm $ +; $Id: timesupA.asm 13832 2008-11-05 02:01:12Z vboxsync $ ;; @file ; IPRT - Time using SUPLib, the Assembly Implementation. ; diff --git a/src/VBox/Runtime/common/time/timesupA.mac b/src/VBox/Runtime/common/time/timesupA.mac index ab268557c..32f08a888 100644 --- a/src/VBox/Runtime/common/time/timesupA.mac +++ b/src/VBox/Runtime/common/time/timesupA.mac @@ -1,4 +1,4 @@ -; $Id: timesupA.mac $ +; $Id: timesupA.mac 8272 2008-04-22 11:18:25Z vboxsync $ ;; @file ; IPRT - Time using SUPLib, the Assembly Code Template. ; diff --git a/src/VBox/Runtime/common/time/timesupref.cpp b/src/VBox/Runtime/common/time/timesupref.cpp index d11d92be5..5476479d0 100644 --- a/src/VBox/Runtime/common/time/timesupref.cpp +++ b/src/VBox/Runtime/common/time/timesupref.cpp @@ -1,4 +1,4 @@ -/* $Id: timesupref.cpp $ */ +/* $Id: timesupref.cpp 21337 2009-07-07 14:58:27Z vboxsync $ */ /** @file * IPRT - Time using SUPLib, the C Implementation. */ @@ -34,6 +34,8 @@ * Header Files * *******************************************************************************/ #include <iprt/time.h> +#include "internal/iprt.h" + #include <iprt/asm.h> #include <VBox/sup.h> #include "internal/time.h" @@ -47,6 +49,7 @@ #define NEED_TRANSACTION_ID #define rtTimeNanoTSInternalRef RTTimeNanoTSLegacySync #include "timesupref.h" +RT_EXPORT_SYMBOL(RTTimeNanoTSLegacySync); #define ASYNC_GIP #ifdef IN_RC @@ -55,6 +58,7 @@ #undef rtTimeNanoTSInternalRef #define rtTimeNanoTSInternalRef RTTimeNanoTSLegacyAsync #include "timesupref.h" +RT_EXPORT_SYMBOL(RTTimeNanoTSLegacyAsync); /* @@ -67,6 +71,7 @@ #undef rtTimeNanoTSInternalRef #define rtTimeNanoTSInternalRef RTTimeNanoTSLFenceSync #include "timesupref.h" +RT_EXPORT_SYMBOL(RTTimeNanoTSLFenceSync); #define ASYNC_GIP #ifdef IN_RC @@ -75,6 +80,8 @@ #undef rtTimeNanoTSInternalRef #define rtTimeNanoTSInternalRef RTTimeNanoTSLFenceAsync #include "timesupref.h" +RT_EXPORT_SYMBOL(RTTimeNanoTSLFenceAsync); #endif /* !IN_GUEST */ + diff --git a/src/VBox/Runtime/common/time/timesupref.h b/src/VBox/Runtime/common/time/timesupref.h index e745a2727..6d2182015 100644 --- a/src/VBox/Runtime/common/time/timesupref.h +++ b/src/VBox/Runtime/common/time/timesupref.h @@ -1,4 +1,4 @@ -/* $Id: timesupref.h $ */ +/* $Id: timesupref.h 8245 2008-04-21 17:24:28Z vboxsync $ */ /** @file * IPRT - Time using SUPLib, the C Code Template. */ diff --git a/src/VBox/Runtime/common/time/timesysalias.cpp b/src/VBox/Runtime/common/time/timesysalias.cpp index e101cea51..b6dcb82b9 100644 --- a/src/VBox/Runtime/common/time/timesysalias.cpp +++ b/src/VBox/Runtime/common/time/timesysalias.cpp @@ -1,4 +1,4 @@ -/* $Id: timesysalias.cpp $ */ +/* $Id: timesysalias.cpp 21337 2009-07-07 14:58:27Z vboxsync $ */ /** @file * IPRT - Time using RTTimeSystem*. */ @@ -33,6 +33,7 @@ * Header Files * *******************************************************************************/ #include <iprt/time.h> +#include "internal/iprt.h" /** @@ -44,6 +45,7 @@ RTDECL(uint64_t) RTTimeNanoTS(void) { return RTTimeSystemNanoTS(); } +RT_EXPORT_SYMBOL(RTTimeNanoTS); /** @@ -55,4 +57,5 @@ RTDECL(uint64_t) RTTimeMilliTS(void) { return RTTimeSystemMilliTS(); } +RT_EXPORT_SYMBOL(RTTimeMilliTS); |
