ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

time.c
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS Boot Loader (FreeLDR)
00003  * LICENSE:         GPL - See COPYING in the top level directory
00004  * FILE:            boot/freeldr/freeldr/arcemul/time.c
00005  * PURPOSE:         Routines for Time measurement
00006  * PROGRAMMERS:     Hervé Poussineau  <hpoussin@reactos.org>
00007  */
00008 
00009 /* INCLUDES *******************************************************************/
00010 
00011 #include <freeldr.h>
00012 
00013 /* FUNCTIONS ******************************************************************/
00014 
00015 TIMEINFO*
00016 ArcGetTime(VOID)
00017 {
00018     return MachVtbl.GetTime();
00019 }
00020 
00021 ULONG
00022 ArcGetRelativeTime(VOID)
00023 {
00024     TIMEINFO* TimeInfo;
00025     ULONG ret;
00026 
00027     TimeInfo = ArcGetTime();
00028     ret = ((TimeInfo->Hour * 24) + TimeInfo->Minute) * 60 + TimeInfo->Second;
00029     return ret;
00030 }

Generated on Sun May 27 2012 04:18:15 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.