Files
UnrealEngine/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_TimeStamp.h
2025-05-18 13:04:45 +08:00

32 lines
667 B
C++

// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
#pragma once
#if LC_VERSION == 1
// BEGIN EPIC MOD
#include "LC_Platform.h"
// END EPIC MOD
namespace timeStamp
{
void Startup(void);
void Shutdown(void);
// Returns the current value of the high-resolution performance counter.
// This is not the same as actual CPU cycles.
uint64_t Get(void);
// Converts counts returned by Get() into seconds.
double ToSeconds(uint64_t count);
// Converts counts returned by Get() into milliseconds.
double ToMilliSeconds(uint64_t count);
// Converts counts returned by Get() into microseconds.
double ToMicroSeconds(uint64_t count);
}
#endif