the.bay.news

CPU time (and not elapsed)

The Rust Programming Language Forum
CPU time (and not elapsed)
Hello, Maybe a silly question... I'm trying to bench my app. I noticed that Criteron or Divan measure Elapsed time. First question : This surprises me, as it seems the representative metric to measure an algorithm should be CPU time. Am I right ? Second one : So to measure the CPU time I'm using sysinfo (code below). But now I notice that in fact the returned time depends of CPU usage of other processes. Is it really CPU time ? Where is my misunderstanding ? use sysinfo::System; let m...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.