Skip to content

Comment on GCC and C vs C++ Speed, Measuredparent

Comments

What is the reasoning?

The best time measured is the time of execution with least switching to other processes. So, it's actually the closest to the real time.

No, there are other things which affect timing besides switching to other processes. For example, virt:physical mapping of the process memory affects cache performance unpredictably, see http://d3s.mff.cuni.cz/publications/download/hocko-sipew10.p...

No, there are other things which affect timing besides switching to other processes. For example, virt:physical mapping of the process memory affects cache performance unpredictably.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.