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.

63 lines
912 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. perfctrs.h
  5. Abstract:
  6. SIS Groveler performance counters header
  7. Authors:
  8. John Douceur, 1998
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef _INC_PERFCTRS
  14. #define _INC_PERFCTRS
  15. #define WIN32_LEAN_AND_MEAN 1
  16. const int num_languages = 1;
  17. struct CounterText
  18. {
  19. _TCHAR *counter_name;
  20. _TCHAR *counter_help;
  21. };
  22. struct ObjectInformation
  23. {
  24. unsigned int detail_level;
  25. CounterText text[num_languages];
  26. };
  27. struct CounterInformation
  28. {
  29. SharedDataField source;
  30. unsigned int counter_type;
  31. unsigned int detail_level;
  32. CounterText text[num_languages];
  33. };
  34. const int num_perf_counters = 15;
  35. extern const _TCHAR *language_codes[num_languages];
  36. extern ObjectInformation object_info;
  37. extern CounterInformation counter_info[num_perf_counters];
  38. #endif /* _INC_PERFCTRS */