tstTime-3.cpp revision 5eabf773597082761832bc0a32b3660e8771f9f1
e0aad1e08730743b3a27aa070e2861bd1c153afedp * IPRT Testcase - Simple RTTime test.
e0aad1e08730743b3a27aa070e2861bd1c153afedp * Copyright (C) 2006-2007 Sun Microsystems, Inc.
e0aad1e08730743b3a27aa070e2861bd1c153afedp * This file is part of VirtualBox Open Source Edition (OSE), as
e0aad1e08730743b3a27aa070e2861bd1c153afedp * available from http://www.virtualbox.org. This file is free software;
e0aad1e08730743b3a27aa070e2861bd1c153afedp * you can redistribute it and/or modify it under the terms of the GNU
e0aad1e08730743b3a27aa070e2861bd1c153afedp * General Public License (GPL) as published by the Free Software
e0aad1e08730743b3a27aa070e2861bd1c153afedp * Foundation, in version 2 as it comes in the "COPYING" file of the
e0aad1e08730743b3a27aa070e2861bd1c153afedp * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
e0aad1e08730743b3a27aa070e2861bd1c153afedp * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
e0aad1e08730743b3a27aa070e2861bd1c153afedp * The contents of this file may alternatively be used under the terms
e0aad1e08730743b3a27aa070e2861bd1c153afedp * of the Common Development and Distribution License Version 1.0
e0aad1e08730743b3a27aa070e2861bd1c153afedp * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
e0aad1e08730743b3a27aa070e2861bd1c153afedp * VirtualBox OSE distribution, in which case the provisions of the
e0aad1e08730743b3a27aa070e2861bd1c153afedp * CDDL are applicable instead of those of the GPL.
e0aad1e08730743b3a27aa070e2861bd1c153afedp * You may elect to license modified versions of this file under the
e0aad1e08730743b3a27aa070e2861bd1c153afedp * terms and conditions of either the GPL or the CDDL or both.
e0aad1e08730743b3a27aa070e2861bd1c153afedp * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
e0aad1e08730743b3a27aa070e2861bd1c153afedp * Clara, CA 95054 USA or visit http://www.sun.com if you need
e0aad1e08730743b3a27aa070e2861bd1c153afedp * additional information or have any questions.
e0aad1e08730743b3a27aa070e2861bd1c153afedp/*******************************************************************************
e0aad1e08730743b3a27aa070e2861bd1c153afedp* Header Files *
e0aad1e08730743b3a27aa070e2861bd1c153afedp*******************************************************************************/
e0aad1e08730743b3a27aa070e2861bd1c153afedp#else /* posix */
#ifdef RT_OS_WINDOWS
return RTTimeNanoTS();