Petr Rockai <[email protected]> writes: > Hi, > > Kim Wallmark <[email protected]> writes: >> I'm not confident about other options, either. time (and the deprecated >> library >> oldtime) are the only things that provide wall-clock time. System.CPUTime >> is in >> base, but measuring elapsed time in CPU time wouldn't give us accurate >> information for long-running tests that are, for example, disk IO-bound. > even though you don't have wallclock time, you could be a little > creative with forkIO and sleep, which may be good enough and should be > available in base (although it may well be that the setup does not use > the threaded runtime and we maybe use blocking syscalls, this needs to > be checked first).
The threaded runtime is not available everywhere. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
