Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_TimeStamp.h
Chris Gagnon d7d4ee7b38 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) at CL 7473521
#rb none
#fyi Max.Chen, Tim.Gautier

[CL 7614721 by Chris Gagnon in Dev-Editor branch]
2019-07-24 15:05:52 -04:00

25 lines
579 B
C++

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