# UE.5.3) Cycles64 gives inaccurate result

**URL:** <https://forums.unrealengine.com/t/ue-5-3-cycles64-gives-inaccurate-result/1772545>\
**Category:** C++\
**Tags:** threads, unreal-engine, question, CPP\
**Created:** [March 26, 2024, 4:45am UTC](https://forums.unrealengine.com/t/ue-5-3-cycles64-gives-inaccurate-result/1772545 "2024-03-26T04:45:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CookieSakje](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CookieSakje](https://forums.unrealengine.com/u/CookieSakje)\
**Post date:** [March 26, 2024, 4:45am UTC](https://forums.unrealengine.com/t/ue-5-3-cycles64-gives-inaccurate-result/1772545/1 "2024-03-26T04:45:26Z")

</div>

```auto
uint32 FTestThread::Run()
{
	uint64 tLastStampedCycle = FPlatformTime::Cycles64()

	while(bStop)
	{
		uint64 tCurrentTimeCycle = FPlatformTime::Cycles64();
		const double DeltaTime = FPlatformTime::ToMilliseconds64(tCurrentTimeCycle - tLastStampedCycle ) * 1000.0;
		tLastStampedCycle = tCurrentTimeCycle;

		FPlatformProcess::Sleep(0.003f);
	}
}

```

This is async-task operation (used FRunnable).

This code keeps giving me inaccurate Deltatime.  
The actual time differs by more than 10 seconds.  
I would like to know what the problem is
