Arik Vasserman
Arik Vasserman

Reputation: 1

KCacheGrind/CallGrind - wrong relative timing

I am using valgrind to profile a program. The valgrind measurements shows a wrong relative runtime - it seems from the callgrind log that function1 has a longer runtime than function 2, although when I use a simple timer without valgrind, I see the opposite. Is there any explanation to that? what can I do about it?

Upvotes: 0

Views: 205

Answers (0)

Related Questions