[ ] Familiarize ourselves with "Complications for Computational Experiments from Modern Processors".
Fichte et al propose either CPU-time or real time as the metric for measuring time, we collect both.
Fichte et al propose either GNU time or runsolver to measre time, noting that both of them suffer from time skew. The alternative not affected by time skew is perf. We cannot use perf as it requires deep control of the CPU and root privileges. gourd uses the same wait4 api as GNU time and runsolver.
Fichte et al talk about restricting the runtime for programs but this is a responsibility of delft blue and not gourd.
Tasklist:
runsolver
to measre time, noting that both of them suffer from time skew. The alternative not affected by time skew isperf
. We cannot use perf as it requires deep control of the CPU and root privileges.gourd
uses the samewait4
api as GNU time andrunsolver
.gourd
.