profiler.h 984 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*++
  2. Copyright (c) 2013 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. profiler.h
  5. Abstract:
  6. This header contains definitions for the hardware layer's profiler interrupt
  7. support.
  8. Author:
  9. Chris Stevens 1-Jul-2013
  10. --*/
  11. //
  12. // ---------------------------------------------------------------- Definitions
  13. //
  14. //
  15. // ------------------------------------------------------ Data Type Definitions
  16. //
  17. //
  18. // -------------------------------------------------------- Function Prototypes
  19. //
  20. INTERRUPT_STATUS
  21. HlpProfilerInterruptHandler (
  22. PVOID Context
  23. );
  24. /*++
  25. Routine Description:
  26. This routine is the main profiler ISR.
  27. Arguments:
  28. Context - Supplies a context pointer. Currently unused.
  29. Return Value:
  30. Claimed always.
  31. --*/
  32. KSTATUS
  33. HlpTimerInitializeProfiler (
  34. VOID
  35. );
  36. /*++
  37. Routine Description:
  38. This routine initializes the system profiler source and start it ticking.
  39. Arguments:
  40. None.
  41. Return Value:
  42. Status code.
  43. --*/