Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygentime.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
1.7.6.1
|