Team Fortress 2 Source Code as on 22/4/2020
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.

84 lines
2.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. // This is the null header file used to remove Telemetry calls.
  3. #define TMERR_DISABLED 1
  4. #define TMPRINTF_TOKEN_NONE 0
  5. #define tmGetSessionName(...)
  6. #define tmEndTryLock(...)
  7. #define tmEndTryLockEx(...)
  8. #define tmSetLockState(...)
  9. #define tmSetLockStateEx(...)
  10. #define tmSetLockStateMinTime(...) 0
  11. #define tmSetLockStateMinTimeEx(...) 0
  12. #define tmSignalLockCount(...)
  13. #define tmCheckVersion(...) 0
  14. #define tmGetCallStack(...) 0
  15. #define tmSendCallStack( ... ) TMPRINTF_TOKEN_NONE
  16. #define tmGetCallStackR(...) 0
  17. #define tmSendCallStackR(...) TMPRINTF_TOKEN_NONE
  18. #define tmSendCallStackWithSkipR(...) TMPRINTF_TOKEN_NONE
  19. #define tmGetVersion(...) 0
  20. #define tmStartup(...) TMERR_DISABLED
  21. #define tmGetPlatformInformation(...) TMERR_DISABLED
  22. #define tmInitializeContext(...) TMERR_DISABLED
  23. #define tmShutdown(...) TMERR_DISABLED
  24. #define tmEnter(...)
  25. #define tmEnterEx(...)
  26. #define tmZone(...)
  27. #define tmZoneFiltered(...)
  28. #define tmLeave(...)
  29. #define tmLeaveEx(...)
  30. #define tmBeginTimeSpan(...)
  31. #define tmEndTimeSpan(...)
  32. #define tmBeginTimeSpanAt(...)
  33. #define tmEndTimeSpanAt(...)
  34. #define tmDynamicString(...) ""
  35. #define tmEmitAccumulationZone(...)
  36. #define tmGetStati(...) 0
  37. #define tmSetVariable(...)
  38. #define tmBlob(...)
  39. #define tmDisjointBlob(...)
  40. #define tmSetTimelineSectionName(...)
  41. #define tmThreadName(...)
  42. #define tmLockName(...)
  43. #define tmMessage(...)
  44. #define tmAlloc(...)
  45. #define tmAllocEx(...)
  46. #define tmTryLock(...)
  47. #define tmTryLockEx(...)
  48. #define tmPlot(...)
  49. #define tmPlotF32(...)
  50. #define tmPlotF64(...)
  51. #define tmPlotI32(...)
  52. #define tmPlotU32(...)
  53. #define tmPlotS32(...)
  54. #define tmPlotI64(...)
  55. #define tmPlotU64(...)
  56. #define tmPlotS64(...)
  57. #define tmPPUGetListener(...) TMERR_DISABLED
  58. #define tmPPURegisterSPUProgram(...) TMERR_DISABLED
  59. #define tmSPUBindContextToListener(...)
  60. #define tmSPUUpdateTime(...)
  61. #define tmSPUFlushImage(...)
  62. #define NTELEMETRY 1
  63. #define TM_CONTEXT_LITE(val) ((char*)(val))
  64. #define TM_CONTEXT_FULL(val) ((char*)(val))
  65. typedef char *HTELEMETRY;