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