Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_TimeStamp.h
Tim Smith b48b94b010 Integration of Live++ 1.6.3
#rb none
#rnx

[CL 14926202 by Tim Smith in ue5-main branch]
2020-12-15 09:27:44 -04:00

28 lines
638 B
C++

// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
#pragma once
// 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);
}