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.

29 lines
816 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef POINT_H
  8. #define POINT_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. //-----------------------------------------------------------------------------
  13. // Purpose: Data describing a point used on the graph, dervied from the "stats" rcon command
  14. //-----------------------------------------------------------------------------
  15. typedef struct {
  16. float cpu; // the percent CPU usage
  17. float in; // the ingoing bandwidth in kB/sec
  18. float out; // the outgoing bandwidth in kB/sec
  19. float time; // the time this was recorded
  20. float fps; // the FPS of the server
  21. float ping; // the ping of the server
  22. } Points_t;
  23. #endif // POINT_H