# Why does FPlatformTime::Cycles() return a 32-bit integer?

**URL:** <https://forums.unrealengine.com/t/why-does-fplatformtime-cycles-return-a-32-bit-integer/38201>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [August 11, 2015, 9:24am UTC](https://forums.unrealengine.com/t/why-does-fplatformtime-cycles-return-a-32-bit-integer/38201 "2015-08-11T09:24:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e890ffaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e890ffaa](https://forums.unrealengine.com/u/anonymous_user_e890ffaa)\
**Post date:** [August 11, 2015, 9:24am UTC](https://forums.unrealengine.com/t/why-does-fplatformtime-cycles-return-a-32-bit-integer/38201/1 "2015-08-11T09:24:56Z")

</div>

I’d like to use FPlatformTime::Cycles() for measuring game-play time, but since it returns a mere 32-bit integer, the timing result will wrap around within half an hour. Since the average game takes longer than a half hour, use of FPlatformTime::Cycles() (other than as random seed) is awkward, since it requires me to detect and handle wrap-around. Use of FPlatformTime::Seconds() is simpler yet more expensive, since it involves some double-precision arithmetic. The underlying counters on different OS-es return 64-bit integers. So, this begs the question: Why doesn’t FPlatformTime::Cycles() return a 64-bit integer?
