tstRTR0TimerDriver.cpp revision 22ca45c3863de72dfa6ed4c31b712de13d61aa23
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * IPRT R0 Testcase - Timers, driver program.
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * Copyright (C) 2009-2014 Oracle Corporation
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * This file is part of VirtualBox Open Source Edition (OSE), as
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * available from http://www.virtualbox.org. This file is free software;
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * you can redistribute it and/or modify it under the terms of the GNU
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * General Public License (GPL) as published by the Free Software
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * Foundation, in version 2 as it comes in the "COPYING" file of the
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * The contents of this file may alternatively be used under the terms
f131ef75fa02edc15fdbfbc2a411af571378bbb8jeff.schenk * of the Common Development and Distribution License Version 1.0
#ifdef VBOX
# include "tstRTR0Timer.h"
#include "tstRTR0CommonDriver.h"
#ifndef VBOX
return RTEXITCODE_SKIPPED;
return rcExit;
RTR3TestR0SimpleTestWithArg(TSTRTR0TIMER_PERIODIC_CHANGE_INTERVAL, i, "Change interval from callback, variation %u", i);
RTR3TestR0SimpleTest(TSTRTR0TIMER_PERIODIC_CSSD_LOOPS_HIRES, "Create-start-stop-destroy loops, hires");
RTR3TestR0SimpleTestWithArg(TSTRTR0TIMER_PERIODIC_CHANGE_INTERVAL, i, "Change interval from callback, hires, variation %u", i);