Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. perfdata.c
  5. Abstract:
  6. This module contains the global read/write data for the perf subsystem
  7. Author:
  8. Stephen Hsiao (shsiao) 01-Jan-2000
  9. Revision History:
  10. --*/
  11. #include "perfp.h"
  12. PERFINFO_GROUPMASK PerfGlobalGroupMask;
  13. PERFINFO_GROUPMASK *PPerfGlobalGroupMask;
  14. const PERFINFO_HOOK_HANDLE PerfNullHookHandle = { NULL, NULL };
  15. //
  16. // Profiling
  17. //
  18. KPROFILE PerfInfoProfileObject;
  19. KPROFILE_SOURCE PerfInfoProfileSourceActive = ProfileMaximum; // Set to invalid source
  20. KPROFILE_SOURCE PerfInfoProfileSourceRequested = ProfileTime;
  21. KPROFILE_SOURCE PerfInfoProfileInterval = 10000; // 1ms in 100ns ticks
  22. BOOLEAN PerfInfoSampledProfileCaching;
  23. LONG PerfInfoSampledProfileFlushInProgress;
  24. PERFINFO_SAMPLED_PROFILE_CACHE PerfProfileCache;
  25. #ifdef NTPERF
  26. ULONGLONG PerfInfoTickFrequency;
  27. PERFINFO_GROUPMASK StartAtBootGroupMask;
  28. ULONG PerfInfo_InitialStackWalk_Threshold_ms = 3000 * 1000;
  29. ULONG PerfInfoLoggingToPerfMem = 0;
  30. #endif //NTPERF