Source code of Windows XP (NT5)
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.

24 lines
319 B

  1. #pragma namespace("\\\\.\\root\\ntperfdata")
  2. [perf]
  3. class MyPerfCounter
  4. {
  5. [key, label] uint32 CounterID;
  6. uint32 Value1;
  7. uint64 Value2;
  8. };
  9. instance of MyPerfCounter
  10. {
  11. CounterID = 1;
  12. Value1 = 101;
  13. Value2 = 1001;
  14. };
  15. instance of MyPerfCounter
  16. {
  17. CounterID = 2;
  18. Value1 = 202;
  19. Value2 = 2002;
  20. };