r/C_Programming • • Jun 03 '26

Slow down my code on purpose.

Is it possible to slow down my code to just learn more? Like slowing cycles, limiting ram etc...

16 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/CowBoyDanIndie Jun 04 '26

I do this at work often because the production machine is only 1.5ghz and my laptop is 4+, it gives a pretty close approximation for cycle time.