AutoLogTime.h 518 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #ifndef CRYINCLUDE_EDITOR_UTIL_AUTOLOGTIME_H
  9. #define CRYINCLUDE_EDITOR_UTIL_AUTOLOGTIME_H
  10. #pragma once
  11. class CAutoLogTime
  12. {
  13. public:
  14. CAutoLogTime(const char* what);
  15. ~CAutoLogTime();
  16. private:
  17. const char* m_what;
  18. int m_t0, m_t1;
  19. };
  20. #endif // CRYINCLUDE_EDITOR_UTIL_AUTOLOGTIME_H