Overview
| Artifact ID: | d31c97e6a05eaa42e9c192950c9826a7db4f1292 |
|---|---|
| Ticket: | 625454ffffffffffffffffffffffffffffffffff
new arg to 'time' - iterations in secs |
| User & Date: | davidw on 2002-10-18 23:13:25 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
[ I hate the brevity of the summary field ] Hi, While running some testing code that I wanted to time, it came up as a requirement that users want to run it not by number of iterations, but by a certain length of time. The idea occurred to me that [time] could take an additional argument - a qualifier stating that iterations is a number of seconds (I suppose you could also use 'minutes' or 'hours' for the additional arg if you wanted). The loop would then run for at least, but not precisely, that amount of time, and return the amount of microseconds per iteration. It would also be possible to script the whole thing, of course. Maybe that's a better course of action? The nice thing about time is that the loop overhead is minimal. Having it coded in C would mean that the results would be comparable to regular [time] results.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "davidw"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "new arg to 'time' - iterations in secs"
- type changed to: "RFE"