The cpu tag has no usage guidance.
0
votes
1answer
118 views
Why this simple SFML app produce such high CPU usage?
I written the following SFML.NET app.
It draw a single 128x128 sprite on the screen.
RenderWindow window = new RenderWindow(new VideoMode(800, 600), "SFML window");
window.SetVerticalSyncEnabled(...
5
votes
2answers
267 views
Should I care about CPU affinity of threads?
I am currently developing a rendering engine, which I plan to use for creating games. The engine makes heavy use of multithreading; I have a thread for OpenGL rendering, a thread for updating, a ...
0
votes
0answers
116 views
Unity / Box2D / Raycasting and Performance
Im currently using the Unity Engine and the Box2D Physics Engine.
I have this line of code:
"RaycastHit2D ray = Physics2D.Raycast(origin, direction, distance);"
Im planning to use this line of ...
5
votes
4answers
218 views
Data flow with PhysX on a dedicated GPU
If there are 2 GPUs in a PC, one processing only graphics and the other dedicated to PhysX, what is the flow of the physics-related data?
Let's say we're simulating an explosion and the PhysX ...
1
vote
1answer
2k views
ARMv7 vs FAT in Unity Android Build Settings (release multiple valid APKs)
If I select ARMv7 instead of FAT (ARMv7+x86) in the Android Build Settings of Unity5-Free, the APK binary drops to half size.
FAT => ~20MB
ARM => ~10MB
(Tested with an empty scene, no assets, ...
23
votes
3answers
7k views
Is it normal for a game to use 100% CPU?
I just implemented multi-threaded input handling in my game engine where the code that polls the OS to gather input from it and time stamps them is in a separate thread and each frame in the main ...
3
votes
1answer
1k views
CPU Usage and Available Ram in Unity 5
In Unity 5 I would like to be able to print out the CPU Usage and Available Ram left in MB. I followed the code posted on http://zamov.online.fr/EXHTML/CSharp/CSharp_927308.html and used it, however ...
0
votes
1answer
110 views
What type of loop code on game engines? [duplicate]
Recently I worked on a game on Spritekit Engine. My question is not about spritekit, but generaly about game engines.
When I write a loop code and run it (eg while i< 100000) my CPU usage goes to ...
0
votes
1answer
141 views
TTF fonts are being converted to image in CPU or GPU?
Once I use a TTF font, when they are being converted to images to be rendered? Does CPU or GPU do the conversion? How heavy is that operation?