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

profil.c
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS HAL
00003  * LICENSE:         GPL - See COPYING in the top level directory
00004  * FILE:            hal/halx86/generic/profil.c
00005  * PURPOSE:         System Profiling
00006  * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)
00007  */
00008 
00009 /* INCLUDES ******************************************************************/
00010 
00011 #include <hal.h>
00012 #define NDEBUG
00013 #include <debug.h>
00014 
00015 /* FUNCTIONS *****************************************************************/
00016 
00017 /*
00018  * @unimplemented
00019  */
00020 VOID
00021 NTAPI
00022 HalStopProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
00023 {
00024     UNIMPLEMENTED;
00025     return;
00026 }
00027 
00028 /*
00029  * @unimplemented
00030  */
00031 VOID
00032 NTAPI
00033 HalStartProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
00034 {
00035     UNIMPLEMENTED;
00036     return;
00037 }
00038 
00039 /*
00040  * @unimplemented
00041  */
00042 ULONG_PTR
00043 NTAPI
00044 HalSetProfileInterval(IN ULONG_PTR Interval)
00045 {
00046     UNIMPLEMENTED;
00047     return Interval;
00048 }
00049 
00050 ULONG HalpDecrementerRoll = 0;
00051 
00052 LARGE_INTEGER
00053 KeQueryPerformanceCounter(PLARGE_INTEGER PerformanceFrequency)
00054 {
00055     LARGE_INTEGER Result;
00056     /* for now */
00057     if(PerformanceFrequency) PerformanceFrequency->QuadPart = 100000000;
00058     Result.HighPart = HalpDecrementerRoll;
00059     Result.LowPart = __rdtsc();
00060     return Result;
00061 }

Generated on Sun May 27 2012 04:28:40 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.